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. |
||
---|---|---|
.. | ||
import_fixtures | ||
ldap | ||
mattermost_fixtures | ||
saml | ||
slack_fixtures | ||
.gitignore | ||
authors.json | ||
config.generate_data.json | ||
csp_report.json | ||
docs_url_preview_data.json | ||
duplicate_commits.json | ||
gitter_data.json | ||
markdown_test_cases.json | ||
narrow.json | ||
slack_message_conversion.json | ||
user_agents_unique |