Commit 357b5fd
committed
fix(parser): restrict block types in default table cells to match asciidoctor
Default table cells now treat list markers, delimited blocks, toc macros, and
page breaks as literal text instead of parsing them as blocks. Only cells with
the 'a' (AsciiDoc) style get full block parsing.
This fixes the mismatch where `| * item` was parsed as a list instead of
literal text "* item".1 parent 9f45cfc commit 357b5fd
File tree
6 files changed
+69
-495
lines changed- acdc-parser
- fixtures/tests
- src
- blocks
- grammar
6 files changed
+69
-495
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
69 | 71 | | |
70 | 72 | | |
71 | 73 | | |
| |||
146 | 148 | | |
147 | 149 | | |
148 | 150 | | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
149 | 154 | | |
150 | 155 | | |
151 | 156 | | |
| |||
0 commit comments