diff options
Diffstat (limited to 'test/command')
-rw-r--r-- | test/command/4156.md | 10 | ||||
-rw-r--r-- | test/command/rst-links.md | 18 |
2 files changed, 28 insertions, 0 deletions
diff --git a/test/command/4156.md b/test/command/4156.md new file mode 100644 index 000000000..073537d1f --- /dev/null +++ b/test/command/4156.md @@ -0,0 +1,10 @@ +``` +% pandoc -f rst +.. _`SOMEID`: + +foo +^D +<div id="SOMEID"> +<p>foo</p> +</div> +``` diff --git a/test/command/rst-links.md b/test/command/rst-links.md new file mode 100644 index 000000000..496bebc54 --- /dev/null +++ b/test/command/rst-links.md @@ -0,0 +1,18 @@ +``` +% pandoc -f rst +`*ab*`_ + +.. _`*ab*`: foo +^D +<p><a href="foo">*ab*</a></p> +``` + +``` +% pandoc -f rst +`A B +c`_ + +.. _A B C: foo +^D +<p><a href="foo">A B c</a></p> +``` |