mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-24 14:58:13 +08:00
592f890fac
Background: Clients write Markdown and convert it to HTML before sending the event. All events are formatted as HTML. However, if an HTML formatted event happened to include markdown characters, Element Android would incorrectly render that markdown. For example, an event with formatted_body: "*test*" should be displayed as literally *test* with no effects, but Element Android incorrectly displayed it as test in italics. This commit fixes this behaviour, making Element Android not parse Markdown in HTML messages. From the perspective of most users it will appear that backslash escapes now work properly (even though this wasn't the real issue).
2 lines
44 B
Plaintext
2 lines
44 B
Plaintext
Fix backslash escapes in formatted messages
|