diff options
| author | Shulhan <ms@kilabit.info> | 2026-02-23 11:49:06 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2026-02-23 11:49:06 +0700 |
| commit | 073830628f986293efc67db97b8729bc9d75f167 (patch) | |
| tree | dfea587d760a61ac59b68315fa59e06b6f584eff | |
| parent | 974b8b5068b688258dbe1ffcc37d0ce0f3f4b4c7 (diff) | |
| download | asciidoctor-go-073830628f986293efc67db97b8729bc9d75f167.tar.xz | |
testdata: add test for paragraph followed by unordered list
The asciidoctor behaviour will not recognize list that is not started
by empty line, similar to our implementation.
| -rw-r--r-- | testdata/test.adoc | 4 | ||||
| -rw-r--r-- | testdata/test.exp.html | 5 | ||||
| -rw-r--r-- | testdata/test.got.html | 5 |
3 files changed, 14 insertions, 0 deletions
diff --git a/testdata/test.adoc b/testdata/test.adoc index 0f237b3..e7ef033 100644 --- a/testdata/test.adoc +++ b/testdata/test.adoc @@ -423,6 +423,10 @@ This line separated by comment. ** Sub 2.2 * List indented with space +Paragraph followed by list, +* One +* Two + === Custom markers [square] diff --git a/testdata/test.exp.html b/testdata/test.exp.html index 6a6b0e9..90be8e2 100644 --- a/testdata/test.exp.html +++ b/testdata/test.exp.html @@ -1384,6 +1384,11 @@ This line separated by comment.</p> </li> </ul> </div> +<div class="paragraph"> +<p>Paragraph followed by list, +* One +* Two</p> +</div> <div class="sect2"> <h3 id="custom_markers"><a class="anchor" href="#custom_markers"></a><a class="link" href="#custom_markers">15.1. Custom markers</a></h3> <div class="ulist square"> diff --git a/testdata/test.got.html b/testdata/test.got.html index e0162cd..2ef0eeb 100644 --- a/testdata/test.got.html +++ b/testdata/test.got.html @@ -3391,6 +3391,11 @@ This line separated by comment.</p> </li> </ul> </div> +<div class="paragraph"> +<p>Paragraph followed by list, +* One +* Two</p> +</div> <div class="sect2"> <h3 id="custom_markers"><a class="anchor" href="#custom_markers" aria-label="Anchor for custom_markers"></a><a class="link" href="#custom_markers">15.1. Custom markers</a></h3> <div class="ulist square"> |
