aboutsummaryrefslogtreecommitdiff
path: root/test/command/3123.md
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-10-11 09:58:25 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-10-11 09:58:25 -0700
commitf5c64c3060ba40181a86d6c82a67b5b975f74446 (patch)
treeea932c2df1e02c424c7290ea8a016e18b88166a4 /test/command/3123.md
parent3e04c2f3af08aa7927e38469eb594adf554a50ec (diff)
downloadpandoc-f5c64c3060ba40181a86d6c82a67b5b975f74446.tar.gz
HTML reader: fix htmlTag and isInlineTag to accept processing instructions.
Fixes regression #3123 (since 2.0). Added regression test.
Diffstat (limited to 'test/command/3123.md')
-rw-r--r--test/command/3123.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/command/3123.md b/test/command/3123.md
new file mode 100644
index 000000000..b71241cdf
--- /dev/null
+++ b/test/command/3123.md
@@ -0,0 +1,13 @@
+```
+% pandoc -f markdown -t native
+<?php echo "1" ; ?>
+^D
+[RawBlock (Format "html") "<?php echo \"1\" ; ?>"]
+```
+
+```
+% pandoc -f markdown -t native
+a<?php echo "1" ; ?>
+^D
+[Para [Str "a",RawInline (Format "html") "<?php echo \"1\" ; ?>"]]
+```