From 4e0507b62393b8461b29cda7565f685d79b58ca3 Mon Sep 17 00:00:00 2001
From: Shulhan <ms@kilabit.info>
Date: Tue, 30 May 2023 22:12:40 +0700
Subject: all: handle custom marker in between unordered list

Given the following markup,

  [square]
  * item 1
  [circle]
  ** item 2

The list on item 2 now start with `<div class="ulist circle">`.
---
 testdata/test.adoc | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)

(limited to 'testdata/test.adoc')

diff --git a/testdata/test.adoc b/testdata/test.adoc
index 869d720..ee99271 100644
--- a/testdata/test.adoc
+++ b/testdata/test.adoc
@@ -429,8 +429,11 @@ This line separated by comment.
 * square two
 
 [circle]
-* circle one
-* circle two
+* circles
+** all
+*** the
+**** way
+***** down
 
 [disc]
 * disc one
@@ -452,6 +455,17 @@ This line separated by comment.
 * what one
 * what two
 
+With mixed marker,
+
+[square]
+* square l1
+** square l2
+[circle]
+*** circle l3
+**** circle l4
+* circle l1
+
+
 === Checklist
 
 * [*] checked
-- 
cgit v1.3

