Answer the final checks: the decision exemption's wording, info strings never close a fence, one formula length limit
This commit is contained in:
@@ -310,6 +310,7 @@ class Sections(unittest.TestCase):
|
||||
def test_closes_a_fence_only_on_its_own_marker(self):
|
||||
text = "## Goals\n````md\n~~~\n## Quoted\n```\n````\n ~~~\n## Also quoted\n ~~~\n1. one\n## Audience\nme\n"
|
||||
self.assertEqual(list(premises.sections(text)), ["Goals", "Audience"])
|
||||
self.assertEqual(list(premises.sections("```\nquoted:\n```python\n## Inside\n```\n## Goals\n1. one\n")), ["Goals"])
|
||||
|
||||
|
||||
class Render(unittest.TestCase):
|
||||
|
||||
Reference in New Issue
Block a user