3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-20 07:05:44 +01:00

Read a list whose bullet or ordered delimiter changes as two lists, and alternate the marker between adjacent lists in place of !adf:listBreak

This commit is contained in:
2026-10-09 14:50:50 +02:00
committed by Lillem4n
parent 875c0e5335
commit 40580e6948
26 changed files with 179 additions and 244 deletions
-14
View File
@@ -1,18 +1,4 @@
[
{
"check": "count",
"divergence": "ul 2/1",
"example": 301,
"kind": "pending",
"reason": "A list continuing past a marker change renders as two lists, the parser opens one."
},
{
"check": "count",
"divergence": "ol 2/1",
"example": 302,
"kind": "pending",
"reason": "A list continuing past a marker change renders as two lists, the parser opens one."
},
{
"check": "count",
"divergence": "em 2/1",
-1
View File
@@ -1 +0,0 @@
malformed-directive
-7
View File
@@ -1,7 +0,0 @@
- Bolt M8
!adf:listBreak
Packed.
!adf:/listBreak
- Nut M8
-1
View File
@@ -1 +0,0 @@
unsupported-node-shape
-5
View File
@@ -1,5 +0,0 @@
- Bolt M8
!adf:listBreak
Packed.
+19
View File
@@ -85,6 +85,25 @@
}
],
"type": "orderedList"
},
{
"content": [
{
"content": [
{
"content": [
{
"text": "Spanner",
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "listItem"
}
],
"type": "bulletList"
}
],
"type": "doc",
+5 -4
View File
@@ -1,8 +1,9 @@
- Bolt M8
* Bolt M8
* Nut M8
-
*
+ Washer M8
* Washer M8
1. Loosen the clamp
1) Loosen the clamp
1) Lift the cover
+ Spanner
@@ -1,23 +1,16 @@
- Bolt
!adf:listBreak
- Nut
* Nut
1. Cut
!adf:listBreak
1. Weld
1) Weld
!adf:panel info
- Left
!adf:listBreak
- Right
* Right
!adf:/panel
- - Head
!adf:listBreak
- Tail
* Tail