diff options
author | John MacFarlane <jgm@berkeley.edu> | 2021-11-24 11:01:21 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-11-24 11:01:55 -0800 |
commit | 6072bdcec95df9f537b22fb7df4a5f8ea7958189 (patch) | |
tree | 6234b23cf7e8e24cb4b2535aee2ad505bb230a8e /test/command/6970.md | |
parent | a8638894ab698cc0e49757a2732e383b652834bc (diff) | |
download | pandoc-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.md | 12 |
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" , "" ) + ] +] +``` |