diff options
author | John MacFarlane <jgm@berkeley.edu> | 2018-10-11 09:58:25 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-10-11 09:58:25 -0700 |
commit | f5c64c3060ba40181a86d6c82a67b5b975f74446 (patch) | |
tree | ea932c2df1e02c424c7290ea8a016e18b88166a4 /test | |
parent | 3e04c2f3af08aa7927e38469eb594adf554a50ec (diff) | |
download | pandoc-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')
-rw-r--r-- | test/command/3123.md | 13 |
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\" ; ?>"]] +``` |