Formatted (HTML) messages with markdown features are rendered incorrectly as markdown #350
Labels
A-Event rendering
A-Markdown
O-Occasional
Affects or can be seen by some users regularly or most users rarely
S-Minor
Impairs non-critical functionality or suitable workarounds exist
T-Defect
Something isn't working: bugs, crashes, hangs and other reported problems
When the
formatted_body
field of a"format": "org.matrix.custom.html"
message contains special markdown characters, they're rendered as markdown instead of as plain text. This could be an actual problem if you escape markdown characters in a message that contains other formattingExaggerated example
Expected rendering
Actual rendering
Event source
Non-exaggerated example
Expected rendering
Actual rendering
Event source
Real-life example
matrix:room/riotx:matrix.org/event/$15630377604255dZoDF:hacklab.fi
This one was a reply sent from RiotX, which had indentation in the fallback format for some reason. The indentation of course turned into a code block because that's what a markdown parser does.
This specific example could be fixed by
but of course neither of those is a proper fix to this issue.
Expected rendering
Actual rendering
Event source
The text was updated successfully, but these errors were encountered: