Remove extra newline after paragraphs

Hopefully it's not needed
This commit is contained in:
Tulir Asokan 2021-08-17 01:28:14 +03:00
commit d98d1a815d
2 changed files with 2 additions and 2 deletions

View file

@ -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":

View file

@ -1,5 +1,5 @@
package mautrix
const Version = "v0.9.18"
const Version = "v0.9.19"
var DefaultUserAgent = "mautrix-go/" + Version