We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If I write text within the code environment in Markdown on Talk, the indents should be preserved
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.
Try putting in some indented text into a Talk post.
The text was updated successfully, but these errors were encountered:
Test case here: https://master.pfe-preview.zooniverse.org/talk/38/372?env=staging
Code blocks are wrapped in <pre>, which should preserve line-breaks and whitespace, but also styled to collapse whitespace:
<pre>
white-space: pre-line
Sorry, something went wrong.
That style is set here:
Panoptes-Front-End/css/talk.styl
Lines 457 to 458 in 90f146e
See #1602 and #1599.
Should be fixed by #7106.
Successfully merging a pull request may close this issue.
Expected behavior
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
The text was updated successfully, but these errors were encountered: