aboutsummaryrefslogtreecommitdiff
path: root/test/command/6970.md
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-11-24 11:01:21 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2021-11-24 11:01:55 -0800
commit6072bdcec95df9f537b22fb7df4a5f8ea7958189 (patch)
tree6234b23cf7e8e24cb4b2535aee2ad505bb230a8e /test/command/6970.md
parenta8638894ab698cc0e49757a2732e383b652834bc (diff)
downloadpandoc-6072bdcec95df9f537b22fb7df4a5f8ea7958189.tar.gz
HTML reader: parse attributes on links and images.
Closes #6970.
Diffstat (limited to 'test/command/6970.md')
-rw-r--r--test/command/6970.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/command/6970.md b/test/command/6970.md
new file mode 100644
index 000000000..45d9b76bd
--- /dev/null
+++ b/test/command/6970.md
@@ -0,0 +1,12 @@
+```
+% pandoc -f html -t native
+<a name="foo" class="bar baz" href='https://example.com' target='_blank'>https://example.com<a>
+^D
+[ Plain
+ [ Link
+ ( "foo" , [ "bar" , "baz" ] , [ ( "target" , "_blank" ) ] )
+ [ Str "https://example.com" ]
+ ( "https://example.com" , "" )
+ ]
+]
+```