aboutsummaryrefslogtreecommitdiff
path: root/test/command/9630.md
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2024-04-04 10:11:39 -0700
committerJohn MacFarlane <[email protected]>2024-04-04 10:13:02 -0700
commite1f459427242e95bd022a2e85579e7539ebb9ce9 (patch)
treec6069d00eef6605f9c846235eface1cc4f8a92de /test/command/9630.md
parentc29c18a0038b62718cf3133247177e3cb8ebf871 (diff)
DokuWiki reader: fix issues with links.
- Link text cannot contain formatting (e.g., `//` is not italics). Closes #9630. - An explicitly empty link text (`[[url|]]`) works the same as an omitted link text. Closes #9632.
Diffstat (limited to 'test/command/9630.md')
-rw-r--r--test/command/9630.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/command/9630.md b/test/command/9630.md
new file mode 100644
index 000000000..af1ea59f8
--- /dev/null
+++ b/test/command/9630.md
@@ -0,0 +1,12 @@
+```
+% pandoc -f dokuwiki
+ * [[https://example.com|https://example.com]]
+ * [[https://example.com/start#monitoring|https://example.com/start#monitoring]]
+^D
+<ul>
+<li><a href="https://example.com">https://example.com</a></li>
+<li><a
+href="https://example.com/start#monitoring">https://example.com/start#monitoring</a></li>
+</ul>
+
+```