-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
matrix-org/matrix-react-sdk
#7328Labels
P2S-MajorSeverely degrades major functionality or product features, with no satisfactory workaroundSeverely degrades major functionality or product features, with no satisfactory workaroundT-Defect
Description
Description
White space in code blocks sent in markdown mode should not be collapsed.
Steps to reproduce
- Send a message: `1 2 3 4` with a varying amount of whitespace between each number
- Observe that whitespace is collapsed (as on github).
Whitespace is preserved in non-inline code blocks:
1 2 3 4
Whitespace is significant in code elements. Please don't strip it.
View source shows the whitespace, so it's presumably being removed by riot's js.
Version information
- Platform: web (in-browser)
For the web app:
- Browser: Firefox 59
- OS: Arch Linux
- URL: riot.im/app
Metadata
Metadata
Assignees
Labels
P2S-MajorSeverely degrades major functionality or product features, with no satisfactory workaroundSeverely degrades major functionality or product features, with no satisfactory workaroundT-Defect