Enable lax_spacing for markdown formatting in order to allow markdown blocks not surrounded by empty lines
|Assignee:||Go MAEDA||% Done:|
In the markdown standard format, an empty line is required before and after a block in order to render the content properly.1. List without an empty line (doesn't work)
:lax_spacingfor markdown formatting (more details about this option on github) allows also the first format:
We already rolled out this change on our instance because most of the times, we forget to let the empty line and we observe that it doesn't work after we save the changes.
The patch is attached.
#2 Updated by Mischa The Evil over 3 years ago
- Target version set to Unplanned backlogs
OT: Your patch reminded me btw that we might also want a simple test (like
ApplicationHelperTest#test_footnotes) for markdown footnotes (in source:trunk/test/unit/lib/redmine/wiki_formatting/markdown_formatter_test.rb) as enabled per #16072. And while writing this, the questions of 'how many other textile syntax tests are there remaining lurking outside of source:/trunk/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb and what do we want to do with them?' comes up... But that is certainly for another issue.