diff options
| author | John MacFarlane <[email protected]> | 2025-02-03 12:33:39 -0800 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2025-02-03 12:33:39 -0800 |
| commit | f72548a7c2c1dddd06b2213201f82efb885b7ae8 (patch) | |
| tree | fc9d527b944e1b883ea28b746b985f0459db2052 /test | |
| parent | b8c2d99c5a7ec087c1c9f1320a01672f8bcfe599 (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.md | 28 |
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" ] ] ] + ] +] + +``` |
