diff options
| author | Shulhan <ms@kilabit.info> | 2020-12-20 01:47:14 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2020-12-20 01:47:14 +0700 |
| commit | 3425f3a455bb73e15944446e9caef03a1fd15368 (patch) | |
| tree | 4e0f1526eb076e0e176a1cacda30226260544710 /testdata | |
| parent | 9eef9d3dc8fe603975604c6b4d5ba48ddc7337c6 (diff) | |
| download | asciidoctor-go-3425f3a455bb73e15944446e9caef03a1fd15368.tar.xz | |
all: fix parsing list with open block
If the list body contains continuation with open block, the whole open
block content should be treatent as sub-of block until it end with
"--".
Diffstat (limited to 'testdata')
| -rw-r--r-- | testdata/got.test.html | 9 | ||||
| -rw-r--r-- | testdata/test.adoc | 2 | ||||
| -rw-r--r-- | testdata/test.html | 9 |
3 files changed, 18 insertions, 2 deletions
diff --git a/testdata/got.test.html b/testdata/got.test.html index 1811ebe..c5dfecb 100644 --- a/testdata/got.test.html +++ b/testdata/got.test.html @@ -1337,6 +1337,13 @@ Hard drive </tr> </tbody> </table> +<div class="ulist"> +<ul> +<li> +<p>End with list item</p> +</li> +</ul> +</div> </div> </div> </dd> @@ -2950,7 +2957,7 @@ this sidebar.</p> <div id="footer"> <div id="footer-text"> 1.1.1<br> -Last updated 2020-12-13 19:13:12 +0700 +Last updated 2020-12-20 01:27:40 +0700 </div> </div> </body> diff --git a/testdata/test.adoc b/testdata/test.adoc index fad0ee5..b8cd4e4 100644 --- a/testdata/test.adoc +++ b/testdata/test.adoc @@ -547,6 +547,8 @@ Paragraph B. | This | should | work |=== + +* End with list item -- Mixed with ordered and unordered list, diff --git a/testdata/test.html b/testdata/test.html index 7d534cb..5bf503d 100644 --- a/testdata/test.html +++ b/testdata/test.html @@ -1340,6 +1340,13 @@ Hard drive </tr> </tbody> </table> +<div class="ulist"> +<ul> +<li> +<p>End with list item</p> +</li> +</ul> +</div> </div> </div> </dd> @@ -2947,7 +2954,7 @@ this sidebar.</p> <div id="footer"> <div id="footer-text"> 1.1.1<br> -Last updated 2020-12-13 19:13:12 +0700 +Last updated 2020-12-20 01:27:40 +0700 </div> </div> </body> |
