aboutsummaryrefslogtreecommitdiff
path: root/test/markdown-reader-more.native
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2025-03-14 15:07:16 -0700
committerJohn MacFarlane <[email protected]>2025-03-14 15:07:16 -0700
commit28eca1e41e32a4f76645df6ea6de4f746a9e3e62 (patch)
tree983e132a6d335375054445e5e966fb3624bc6c6e /test/markdown-reader-more.native
parent7301daa799830065e8a69a03cebd756f8317bbea (diff)
Markdown reader: remove some misguided list fanciness.
Previously we tried to handle things like commented out list items: - one <!-- - two --> - three and also things like: - one `and - two` and But the code we added to handle these cases caused problems with other, more straightforward things, like: - one - ``` code ``` - three So we are rolling back all the fanciness, so that the markdown parser now behaves more like the commonmark parser, in which indicators of block-level structure always take priority over indicators of inline structure. Closes #9865. Closes #7778. See also #5628.
Diffstat (limited to 'test/markdown-reader-more.native')
-rw-r--r--test/markdown-reader-more.native8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/markdown-reader-more.native b/test/markdown-reader-more.native
index 148cba944..cf5de564d 100644
--- a/test/markdown-reader-more.native
+++ b/test/markdown-reader-more.native
@@ -200,12 +200,8 @@ Pandoc
, Str "item"
]
, BulletList
- [ [ Plain
- [ Str "one"
- , SoftBreak
- , RawInline (Format "html") "<!--\n- two\n-->"
- ]
- ]
+ [ [ Plain [ Str "one" , SoftBreak , Str "<!\8211" ] ]
+ , [ Plain [ Str "two" , SoftBreak , Str "\8211>" ] ]
, [ Plain [ Str "three" ] ]
]
, Header