diff --git a/format/htmlparser.go b/format/htmlparser.go index e6e9485c..26522a01 100644 --- a/format/htmlparser.go +++ b/format/htmlparser.go @@ -197,7 +197,7 @@ func (parser *HTMLParser) tagToString(node *html.Node, stripLinebreak bool, ctx case "a": return parser.linkToString(node, stripLinebreak, ctx) case "p": - return parser.nodeToTagAwareString(node.FirstChild, stripLinebreak, ctx) + "\n" + return parser.nodeToTagAwareString(node.FirstChild, stripLinebreak, ctx) case "hr": return parser.HorizontalLine case "pre": diff --git a/version.go b/version.go index 927b45e4..facf267f 100644 --- a/version.go +++ b/version.go @@ -1,5 +1,5 @@ package mautrix -const Version = "v0.9.18" +const Version = "v0.9.19" var DefaultUserAgent = "mautrix-go/" + Version