From c19f0634203f224a26851635f4b86e1013a6618a Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 15 Nov 2021 11:06:08 -0800 Subject: Markdown writer: don't create autolinks when this loses information. Previously we sometimes lost attributes when rendering links as autolinks. Closes #7692. --- test/command/7692.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 test/command/7692.md (limited to 'test') diff --git a/test/command/7692.md b/test/command/7692.md new file mode 100644 index 000000000..2a91ef378 --- /dev/null +++ b/test/command/7692.md @@ -0,0 +1,13 @@ +``` +% pandoc -t markdown +[https://example.com](https://example.com){.clz} +^D +[https://example.com](https://example.com){.clz} +``` + +``` +% pandoc -f markdown -t html | pandoc -f html -t markdown + +^D + +``` -- cgit v1.2.3