mirror of https://github.com/zulip/zulip.git
630c564fc7
Previously, we didn't track opening and closing fences separately, with led to bugs like not parsing a list that was immediately after a quoted fence; we treated each ``` as a new fence. This commit rewrites the function to maintain a stack of currently open fences. If any of the parent fences is a code fence, we do not insert a new line before a list. We also add some test cases specifically to test this behavior with complexly nested lists. Fixes #13745. |
||
---|---|---|
.. | ||
__init__.py | ||
api_arguments_table_generator.py | ||
api_code_examples.py | ||
fenced_code.py | ||
help_emoticon_translations_table.py | ||
help_relative_links.py | ||
help_settings_links.py | ||
include.py | ||
nested_code_blocks.py | ||
tabbed_sections.py | ||
testing_mocks.py | ||
tlds-alpha-by-domain.txt |