summaryrefslogtreecommitdiff
path: root/test/command/2874.md
diff options
context:
space:
mode:
Diffstat (limited to 'test/command/2874.md')
-rw-r--r--test/command/2874.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/command/2874.md b/test/command/2874.md
new file mode 100644
index 000000000..1fb530dc1
--- /dev/null
+++ b/test/command/2874.md
@@ -0,0 +1,14 @@
+```
+% pandoc -f html -t latex
+<a></a>
+<br/>
+^D
+{}~\\
+```
+
+```
+% pandoc -f html -t latex
+<a name="foo"></a><br/>
+^D
+\protect\hypertarget{foo}{}{}~\\
+```