Skip to content

Commit

Permalink
msgconv/from-matrix: fix newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Sep 25, 2024
1 parent 5a2394c commit 2607670
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/msgconv/msgconv.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ func New(br *bridgev2.Bridge) *MessageConverter {
}
mc.HTMLParser = &format.HTMLParser{
PillConverter: mc.convertPill,
Newline: "\n",
TabsToSpaces: 4,
BoldConverter: func(text string, ctx format.Context) string {
return "*" + text + "*"
},
Expand Down

0 comments on commit 2607670

Please sign in to comment.