aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2025-02-03 12:33:39 -0800
committerJohn MacFarlane <[email protected]>2025-02-03 12:33:39 -0800
commitf72548a7c2c1dddd06b2213201f82efb885b7ae8 (patch)
treefc9d527b944e1b883ea28b746b985f0459db2052 /test
parentb8c2d99c5a7ec087c1c9f1320a01672f8bcfe599 (diff)
DocBook reader: Handle title inside orderedlist.
Also some other elements that allow title: blockquote, calloutlist, etc. Closes #10594.
Diffstat (limited to 'test')
-rw-r--r--test/command/10594.md28
1 files changed, 28 insertions, 0 deletions
diff --git a/test/command/10594.md b/test/command/10594.md
new file mode 100644
index 000000000..b87c23e9a
--- /dev/null
+++ b/test/command/10594.md
@@ -0,0 +1,28 @@
+```
+% pandoc -f docbook -t native
+<orderedlist numeration="loweralpha">
+<title>header inside listing</title> // not rendered in any output format!
+<listitem>
+<simpara>first step</simpara>
+</listitem>
+</orderedlist>
+^D
+[ Div
+ ( "" , [] , [] )
+ [ Div
+ ( "" , [ "title" ] , [] )
+ [ Plain
+ [ Str "header"
+ , Space
+ , Str "inside"
+ , Space
+ , Str "listing"
+ ]
+ ]
+ , OrderedList
+ ( 1 , LowerAlpha , DefaultDelim )
+ [ [ Para [ Str "first" , Space , Str "step" ] ] ]
+ ]
+]
+
+```