Skip to content

Commit

Permalink
Remove extra newline after paragraphs
Browse files Browse the repository at this point in the history
Hopefully it's not needed
  • Loading branch information
tulir committed Aug 16, 2021
1 parent 4121da9 commit d98d1a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion format/htmlparser.go
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package mautrix

const Version = "v0.9.18"
const Version = "v0.9.19"

var DefaultUserAgent = "mautrix-go/" + Version

0 comments on commit d98d1a8

Please sign in to comment.