From 6072bdcec95df9f537b22fb7df4a5f8ea7958189 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 24 Nov 2021 11:01:21 -0800 Subject: HTML reader: parse attributes on links and images. Closes #6970. --- test/command/5986.md | 4 ++-- test/command/6970.md | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 test/command/6970.md (limited to 'test') diff --git a/test/command/5986.md b/test/command/5986.md index ed8dd30c9..c181e33ad 100644 --- a/test/command/5986.md +++ b/test/command/5986.md @@ -6,8 +6,8 @@

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 +https://example.com +^D +[ Plain + [ Link + ( "foo" , [ "bar" , "baz" ] , [ ( "target" , "_blank" ) ] ) + [ Str "https://example.com" ] + ( "https://example.com" , "" ) + ] +] +``` -- cgit v1.2.3