Whitespace trimming breaks Markdown code block indentation
Impacted version: 0.49
Server Setup Information:
- Operating System: Ubuntu 16.04
- Deployment Method: snap
- ROOT_URL environment variable (Is there a subfolder?): https://my-domain.com/kan (yes)
Steps to reproduce:
- Create a card
- Enter a description which consists entirely of a (markdown-styled) code block, i.e. indented with 4 spaces:
first line second line
- Save the description
What happens:
The description is plain, unstylized text.
What I expect to happen:
For the description to be rendered as a code block.
How to work around this:
I have to enter at least one non-whitespace character followed by at least two newlines before entering the indented code block. Urgh :(