diff --git a/VERSION b/VERSION index 6e3e19f77..2a1cfe44b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.89.8 +0.89.9 diff --git a/go.mod b/go.mod index cdde9ec40..6a8b0659f 100644 --- a/go.mod +++ b/go.mod @@ -49,7 +49,7 @@ require ( github.com/status-im/doubleratchet v3.0.0+incompatible github.com/status-im/go-waku v0.0.0-20210930231040-ecfdec1b0a3b github.com/status-im/go-wakurelay-pubsub v0.4.3-0.20210729162817-adc68830282a - github.com/status-im/markdown v0.0.0-20201022101546-c0cbdd5763bf + github.com/status-im/markdown v0.0.0-20210405121740-32e5a5055fb6 github.com/status-im/migrate/v4 v4.6.2-status.2 github.com/status-im/rendezvous v1.3.1-0.20210824184947-7c79c858170c github.com/status-im/status-go/extkeys v1.1.2 diff --git a/go.sum b/go.sum index f793c8ce0..473278420 100644 --- a/go.sum +++ b/go.sum @@ -1109,8 +1109,8 @@ github.com/status-im/go-wakurelay-pubsub v0.4.3-0.20210729162817-adc68830282a/go github.com/status-im/keycard-go v0.0.0-20190316090335-8537d3370df4/go.mod h1:RZLeN1LMWmRsyYjvAu+I6Dm9QmlDaIIt+Y+4Kd7Tp+Q= github.com/status-im/keycard-go v0.0.0-20200402102358-957c09536969 h1:Oo2KZNP70KE0+IUJSidPj/BFS/RXNHmKIJOdckzml2E= github.com/status-im/keycard-go v0.0.0-20200402102358-957c09536969/go.mod h1:RZLeN1LMWmRsyYjvAu+I6Dm9QmlDaIIt+Y+4Kd7Tp+Q= -github.com/status-im/markdown v0.0.0-20201022101546-c0cbdd5763bf h1:0w1mjNUqEHoL8RkcT4VEZ7+wzqQzAVQXZBFqPElkmJk= -github.com/status-im/markdown v0.0.0-20201022101546-c0cbdd5763bf/go.mod h1:9yR8woqkJIHs3sf9pEjYvaGfmhsXR1leEMAX6+Z5y+M= +github.com/status-im/markdown v0.0.0-20210405121740-32e5a5055fb6 h1:wSC60c77UymRfRJKvzstqb3PMCs3t8x4luQBi0SCIMQ= +github.com/status-im/markdown v0.0.0-20210405121740-32e5a5055fb6/go.mod h1:9yR8woqkJIHs3sf9pEjYvaGfmhsXR1leEMAX6+Z5y+M= github.com/status-im/migrate/v4 v4.6.2-status.2 h1:SdC+sMDl/aI7vUlwD2qj2p7KsK4T60IS9z4/rYCCbI8= github.com/status-im/migrate/v4 v4.6.2-status.2/go.mod h1:c/kc90n47GZu/58nnz1OMLTf7uE4Da4gZP5qmU+A/v8= github.com/status-im/rendezvous v1.3.1-0.20210824184947-7c79c858170c h1:l83ciN0A5LW7c6NMa/j0x2mH1vsv3hbAAUTEwZw6qF4= diff --git a/vendor/github.com/status-im/markdown/ast/node.go b/vendor/github.com/status-im/markdown/ast/node.go index 7c396a9a4..704f9c58b 100644 --- a/vendor/github.com/status-im/markdown/ast/node.go +++ b/vendor/github.com/status-im/markdown/ast/node.go @@ -498,14 +498,16 @@ type CodeBlock struct { func (c *CodeBlock) MarshalJSON() ([]byte, error) { type CodeBlockJSON struct { - Type string `json:"type"` - Literal string `json:"literal"` + Type string `json:"type"` + Literal string `json:"literal"` + Language string `json:"language,omitempty"` *Attribute } var c1 CodeBlockJSON c1.Literal = string(c.Literal) c1.Type = "codeblock" c1.Attribute = c.Attribute + c1.Language = string(c.Info) return json.Marshal(&c1) } diff --git a/vendor/modules.txt b/vendor/modules.txt index 8d4d99ff9..5308dcc97 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -441,7 +441,7 @@ github.com/status-im/go-wakurelay-pubsub github.com/status-im/go-wakurelay-pubsub/pb # github.com/status-im/keycard-go v0.0.0-20200402102358-957c09536969 github.com/status-im/keycard-go/derivationpath -# github.com/status-im/markdown v0.0.0-20201022101546-c0cbdd5763bf +# github.com/status-im/markdown v0.0.0-20210405121740-32e5a5055fb6 github.com/status-im/markdown github.com/status-im/markdown/ast github.com/status-im/markdown/parser