diff options
| author | John MacFarlane <[email protected]> | 2025-03-14 15:07:16 -0700 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2025-03-14 15:07:16 -0700 |
| commit | 28eca1e41e32a4f76645df6ea6de4f746a9e3e62 (patch) | |
| tree | 983e132a6d335375054445e5e966fb3624bc6c6e /test/markdown-reader-more.native | |
| parent | 7301daa799830065e8a69a03cebd756f8317bbea (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.native | 8 |
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 |
