mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
Remove extra newline after paragraphs
Hopefully it's not needed
This commit is contained in:
parent
4121da926b
commit
d98d1a815d
2 changed files with 2 additions and 2 deletions
|
|
@ -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":
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
package mautrix
|
||||
|
||||
const Version = "v0.9.18"
|
||||
const Version = "v0.9.19"
|
||||
|
||||
var DefaultUserAgent = "mautrix-go/" + Version
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue