aboutsummaryrefslogtreecommitdiff
path: root/test/command/3989.md
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-10-23 17:29:32 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2017-10-23 17:29:32 -0700
commit896803b0d5d1f5d680d125eb75913025fa734190 (patch)
tree18c316bc936de98eaf75323609fadf1b4165c0cf /test/command/3989.md
parent1a82ecbb6866a00689e3220d304a0fafd81358bb (diff)
downloadpandoc-896803b0d5d1f5d680d125eb75913025fa734190.tar.gz
HTML reader: `htmlTag` improvements.
We previously failed on cases where an attribute contained a `>` character. This patch fixes the bug. Closes #3989.
Diffstat (limited to 'test/command/3989.md')
-rw-r--r--test/command/3989.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/command/3989.md b/test/command/3989.md
new file mode 100644
index 000000000..643de9f5d
--- /dev/null
+++ b/test/command/3989.md
@@ -0,0 +1,9 @@
+```
+pandoc -f markdown -t native
+<span data-toggle="tooltip" data-placement="right" data-html="true"
+title="1st line of text <br> 2nd line of text">
+Hover over me
+</span>
+^D
+[Para [Span ("",[],[("data-toggle","tooltip"),("data-placement","right"),("data-html","true"),("title","1st line of text <br> 2nd line of text")]) [SoftBreak,Str "Hover",Space,Str "over",Space,Str "me",SoftBreak]]]
+```