aboutsummaryrefslogtreecommitdiff
path: root/test/command/5360.md
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-12-27 11:46:22 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2019-12-27 13:08:22 -0800
commit82f44592ae1f2253a5f7ca52d5d3a2299e9bc7a9 (patch)
tree9985343298b5584e11c1ba2bf30925a426e4e09d /test/command/5360.md
parentea2c5152ec81758fa3ee697c3d884843020a1172 (diff)
downloadpandoc-82f44592ae1f2253a5f7ca52d5d3a2299e9bc7a9.tar.gz
Fix parsing bug affected indented code after raw HTML.
Closes #6009, #5360.
Diffstat (limited to 'test/command/5360.md')
-rw-r--r--test/command/5360.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/command/5360.md b/test/command/5360.md
new file mode 100644
index 000000000..924c1ea28
--- /dev/null
+++ b/test/command/5360.md
@@ -0,0 +1,19 @@
+```
+% pandoc -t native
+::: {.foo}
+<table>
+ <tr>
+ <td>hi</td>
+ </tr>
+</table>
+:::
+^D
+[Div ("",["foo"],[])
+ [RawBlock (Format "html") "<table>"
+ ,RawBlock (Format "html") "<tr>"
+ ,RawBlock (Format "html") "<td>"
+ ,Plain [Str "hi"]
+ ,RawBlock (Format "html") "</td>"
+ ,RawBlock (Format "html") "</tr>"
+ ,RawBlock (Format "html") "</table>"]]
+```