Skip to content

Commit 2607670

Browse files
committed
msgconv/from-matrix: fix newlines
1 parent 5a2394c commit 2607670

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/msgconv/msgconv.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ func New(br *bridgev2.Bridge) *MessageConverter {
4545
}
4646
mc.HTMLParser = &format.HTMLParser{
4747
PillConverter: mc.convertPill,
48+
Newline: "\n",
49+
TabsToSpaces: 4,
4850
BoldConverter: func(text string, ctx format.Context) string {
4951
return "*" + text + "*"
5052
},

0 commit comments

Comments
 (0)