@@ -4159,7 +4159,64 @@ Document[0, 59]
41594159````````````````````````````````
41604160
41614161
4162- ```````````````````````````````` example(Multi-Line Image URL: 11) options(unmatched-fence)
4162+ encoding of embedded EOL
4163+
4164+ ```````````````````````````````` example(Multi-Line Image URL: 11) options(multi-line-image-url)
4165+  trailing text
4169+ .
4170+ <p><img src="/url1?one%20=%201%20&%20line%0Aline%20two%0A" alt="ref" /> trailing text</p>
4171+ .
4172+ Document[0, 53]
4173+ Paragraph[0, 53]
4174+ Image[0, 39] textOpen:[0, 2, "!["] text:[2, 5, "ref"] textClose:[5, 6, "]"] linkOpen:[6, 7, "("] url:[7, 13, "/url1?"] pageRef:[7, 13, "/url1?"] urlContent:[14, 38, "one = 1 & line\nline two\n"] linkClose:[38, 39, ")"]
4175+ Text[2, 5] chars:[2, 5, "ref"]
4176+ Text[39, 53] chars:[39, 53, " trai … text"]
4177+ ````````````````````````````````
4178+
4179+
4180+ preserve content indent
4181+
4182+ ```````````````````````````````` example(Multi-Line Image URL: 12) options(multi-line-image-url)
4183+  trailing text
4187+ .
4188+ <p><img src="/url1?%20%20%20%20one%20=%201%20&%20line%0A%20%20%20%20line%20two%0A" alt="ref" /> trailing text</p>
4189+ .
4190+ Document[0, 61]
4191+ Paragraph[0, 61]
4192+ Image[0, 47] textOpen:[0, 2, "!["] text:[2, 5, "ref"] textClose:[5, 6, "]"] linkOpen:[6, 7, "("] url:[7, 13, "/url1?"] pageRef:[7, 13, "/url1?"] urlContent:[18, 46, " one = 1 & line\n line two\n"] linkClose:[46, 47, ")"]
4193+ Text[2, 5] chars:[2, 5, "ref"]
4194+ Text[47, 61] chars:[47, 61, " trai … text"]
4195+ ````````````````````````````````
4196+
4197+
4198+ ```````````````````````````````` example(Multi-Line Image URL: 13) options(multi-line-image-url)
4199+ >  trailing text
4203+ .
4204+ <blockquote>
4205+ <p><img src="/url1?%20%20%20%20one%20=%201%20&%20line%0A%20%20%20%20line%20two%0A" alt="ref" /> trailing text</p>
4206+ </blockquote>
4207+ .
4208+ Document[0, 69]
4209+ BlockQuote[0, 69] marker:[0, 1, ">"]
4210+ Paragraph[2, 69]
4211+ Image[2, 55] textOpen:[2, 4, "!["] text:[4, 7, "ref"] textClose:[7, 8, "]"] linkOpen:[8, 9, "("] url:[9, 15, "/url1?"] pageRef:[9, 15, "/url1?"] urlContent:[22, 52, " one = 1 & line\n line two\n"] linkClose:[54, 55, ")"]
4212+ Text[4, 7] chars:[4, 7, "ref"]
4213+ Text[55, 69] chars:[55, 69, " trai … text"]
4214+ ````````````````````````````````
4215+
4216+
4217+ ## Fenced Code
4218+
4219+ ```````````````````````````````` example(Fenced Code: 1) options(unmatched-fence)
41634220~~~
41644221proper unmatched fenced code
41654222```
@@ -4175,7 +4232,7 @@ Document[0, 36]
41754232
41764233non empty, info, blank line follows, unmatched
41774234
4178- ```````````````````````````````` example(Multi-Line Image URL: 12 ) options(unmatched-fence)
4235+ ```````````````````````````````` example(Fenced Code: 2 ) options(unmatched-fence)
41794236```info
41804237some text
41814238~~~
@@ -5399,10 +5456,10 @@ lines*
53995456Document[0, 131]
54005457 Paragraph[0, 131]
54015458 Text[0, 10] chars:[0, 10, "paragraph "]
5402- Code[10, 23] textOpen:[10, 11, "`"] text:[11, 22, "test \nwith "] textClose:[22, 23, "`"]
5459+ Code[10, 23] textOpen:[10, 11, "`"] text:[11, 22, "test … \n with "] textClose:[22, 23, "`"]
54035460 Text[11, 16] chars:[11, 16, "test "]
54045461 SoftLineBreak[16, 17]
5405- Text[18, 22] chars:[18, 22, "with"]
5462+ Text[18, 22] chars:[18, 22, " with"]
54065463 Text[23, 45] chars:[23, 45, " mult … lines"]
54075464 SoftLineBreak[45, 46]
54085465 Text[46, 56] chars:[46, 56, "paragraph "]
@@ -5411,7 +5468,7 @@ Document[0, 131]
54115468 SoftLineBreak[61, 62]
54125469 Text[62, 66] chars:[62, 66, "with"]
54135470 Text[67, 82] chars:[67, 82, " mult … lazy "]
5414- StrongEmphasis[82, 97] textOpen:[82, 84, "**"] text:[84, 95, "lines\nall "] textClose:[95, 97, "**"]
5471+ StrongEmphasis[82, 97] textOpen:[82, 84, "**"] text:[84, 95, "lines\n all "] textClose:[95, 97, "**"]
54155472 Text[84, 89] chars:[84, 89, "lines"]
54165473 SoftLineBreak[89, 90]
54175474 Text[92, 95] chars:[92, 95, "all"]
@@ -5439,10 +5496,10 @@ lines*
54395496Document[0, 131]
54405497 Paragraph[0, 131]
54415498 Text[0, 10] chars:[0, 10, "paragraph "]
5442- Code[10, 23] textOpen:[10, 11, "`"] text:[11, 22, "test \nwith "] textClose:[22, 23, "`"]
5499+ Code[10, 23] textOpen:[10, 11, "`"] text:[11, 22, "test … \n with "] textClose:[22, 23, "`"]
54435500 Text[11, 16] chars:[11, 16, "test "]
54445501 SoftLineBreak[16, 17]
5445- Text[18, 22] chars:[18, 22, "with"]
5502+ Text[18, 22] chars:[18, 22, " with"]
54465503 Text[23, 45] chars:[23, 45, " mult … lines"]
54475504 SoftLineBreak[45, 46]
54485505 Text[46, 56] chars:[46, 56, "paragraph "]
@@ -5451,7 +5508,7 @@ Document[0, 131]
54515508 SoftLineBreak[61, 62]
54525509 Text[62, 66] chars:[62, 66, "with"]
54535510 Text[67, 82] chars:[67, 82, " mult … lazy "]
5454- StrongEmphasis[82, 97] textOpen:[82, 84, "**"] text:[84, 95, "lines\nall "] textClose:[95, 97, "**"]
5511+ StrongEmphasis[82, 97] textOpen:[82, 84, "**"] text:[84, 95, "lines\n all "] textClose:[95, 97, "**"]
54555512 Text[84, 89] chars:[84, 89, "lines"]
54565513 SoftLineBreak[89, 90]
54575514 Text[92, 95] chars:[92, 95, "all"]
@@ -6830,9 +6887,9 @@ Document[0, 20]
68306887.
68316888Document[0, 31]
68326889 Paragraph[0, 31]
6833- Link[0, 31] textOpen:[0, 1, "["] text:[1, 23, "hello **bold\nworld **"] textClose:[23, 24, "]"] linkOpen:[24, 25, "("] url:[25, 30, "#test"] pageRef:[25, 25] anchorMarker:[25, 26, "#"] anchorRef:[26, 30, "test"] linkClose:[30, 31, ")"]
6890+ Link[0, 31] textOpen:[0, 1, "["] text:[1, 23, "hello **bold\n world **"] textClose:[23, 24, "]"] linkOpen:[24, 25, "("] url:[25, 30, "#test"] pageRef:[25, 25] anchorMarker:[25, 26, "#"] anchorRef:[26, 30, "test"] linkClose:[30, 31, ")"]
68346891 Text[1, 7] chars:[1, 7, "hello "]
6835- StrongEmphasis[7, 23] textOpen:[7, 9, "**"] text:[9, 21, "bold\nworld "] textClose:[21, 23, "**"]
6892+ StrongEmphasis[7, 23] textOpen:[7, 9, "**"] text:[9, 21, "bold\n world "] textClose:[21, 23, "**"]
68366893 Text[9, 13] chars:[9, 13, "bold"]
68376894 SoftLineBreak[13, 14]
68386895 Text[16, 21] chars:[16, 21, "world"]
0 commit comments