aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2025-12-05 10:46:24 +0100
committerJohn MacFarlane <[email protected]>2025-12-05 10:46:24 +0100
commit41b14dc891b188e9daeeb322dab80e5fb4be0cd3 (patch)
tree00d739137e8955e45b98a19106b1f34eefbb0340 /test
parent5e72d6e1436b53fcb21927e605a6c97302844b79 (diff)
RST reader: fix definition lists where term ends with `-`.
This reverts some old code giving special treatment to lines ending in hyphens; I don't understand why it was there, because rst2html does not seem to do this. Closes #11323.
Diffstat (limited to 'test')
-rw-r--r--test/command/11323.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/command/11323.md b/test/command/11323.md
new file mode 100644
index 000000000..e2e5e1802
--- /dev/null
+++ b/test/command/11323.md
@@ -0,0 +1,12 @@
+```
+% pandoc -f rst
+foo-
+ bar
+^D
+<dl>
+<dt>foo-</dt>
+<dd>
+<p>bar</p>
+</dd>
+</dl>
+```