Panoptes-Front-End
Panoptes-Front-End copied to clipboard
Code indents don't appear in Markdown on Talk
Expected behavior
If I write text within the code environment in Markdown on Talk,
the indents should be
preserved
Current behavior
When composing a Talk post, if I put in some code:
and then click the preview button, the code text is rendered with indents preserved.
However, once I click Submit and the post is created, the indents are not preserved,
but the indents are still there in the text of the post when I go to edit it.
It doesn't seem to matter whether the indents are spaces or a tab character.
Steps to replicate
Try putting in some indented text into a Talk post.
Additional information
- Operating system: Mac OS X Monterey
- Browser: Chrome and Safari; I tried both