summaryrefslogtreecommitdiff
path: root/test/docbook-reader.native
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2024-01-16 11:57:43 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2024-01-16 11:58:42 -0800
commit18f0b70d40e18c2c5b34c20a45f7b625a917b5a4 (patch)
tree85ebbe61cb80e5e1eae4c4529b2f6fa0669601fb /test/docbook-reader.native
parent032f7c832fa5912c995e7699013411205254b8d1 (diff)
DocBook reader: better handling of `<procedure>` and `<substeps>`.
`<procedure>` now gets parsed as an ordered list, and `<substeps>` as a sublist. Closes #9341.
Diffstat (limited to 'test/docbook-reader.native')
-rw-r--r--test/docbook-reader.native31
1 files changed, 18 insertions, 13 deletions
diff --git a/test/docbook-reader.native b/test/docbook-reader.native
index 8bb313691..ce03aed36 100644
--- a/test/docbook-reader.native
+++ b/test/docbook-reader.native
@@ -2927,21 +2927,26 @@ Pandoc
]
]
(TableFoot ( "" , [] , [] ) [])
- , BulletList
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
[ [ Para [ Str "A" , Space , Str "Step" ] ]
, [ Para [ Str "Another" , Space , Str "Step" ]
- , Para
- [ Str "Substeps"
- , Space
- , Str "can"
- , Space
- , Str "be"
- , Space
- , Str "nested"
- , Space
- , Str "indefinitely"
- , Space
- , Str "deep."
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para
+ [ Str "Substeps"
+ , Space
+ , Str "can"
+ , Space
+ , Str "be"
+ , Space
+ , Str "nested"
+ , Space
+ , Str "indefinitely"
+ , Space
+ , Str "deep."
+ ]
+ ]
]
]
, [ Para