multi-paragraph reacts weirdly after escaping all markdown #17933
Labels
A-Composer
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
Z-Upstream
Description
The composer emits weird formatting if - on multiparagraph - you escape all markdown.
Steps to reproduce
Send this exact markdown in a room;
The event will be
"formatted_body": "test\n\n*test*"
. (1)I think that paragraph stripping here is especially aggressive, as the following works and produces correct results;
->
"body": "test\n\ntest"
(2)->
"formatted_body": "<p>test</p>\n<p><em>test</em></p>\n"
(3)(Ordering in this screenshot is 2 -> 1 -> 3)
Version information
Platform: desktop
OS: Linux PopOS 21.04
Version: 1.7.32
The text was updated successfully, but these errors were encountered: