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