summaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2023-11-19 10:44:27 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2023-11-19 10:45:05 -0800
commit49e64c1451b9933a025d059f7dae287788c7d1cc (patch)
treede50756f7fad3c7a6cf58f117163eee8ef68488c /test/command
parenta3fba6d83e86978d91a913a3113bb3db92195298 (diff)
Man reader: properly handle `.sp` macro inside lists and block quotes.
Closes #9201.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/9201.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/command/9201.md b/test/command/9201.md
new file mode 100644
index 000000000..12c9aec9e
--- /dev/null
+++ b/test/command/9201.md
@@ -0,0 +1,18 @@
+```
+% pandoc -f man -t markdown
+.TH "EXAMPLE" "1"
+.SH "OPTIONS"
+.TP 8n
+\fB\-\-help\fR
+This is line one.
+.sp
+This is line two.
+^D
+# OPTIONS
+
+**\--help**
+
+: This is line one.
+
+ This is line two.
+```