Weird thing with ol #25

Closed
opened 2024-03-30 19:55:10 -04:00 by j4nk · 1 comment
Owner

In the example, ordered list has a stray </ul> randomly. I think this is due to state transition error?

- unordered ~~item 1~~
- unordered ==item 2==
- unordered item 3
1. ordered item 1
2. ordered item 2
- unordered item after ordered 1
- unordered item after ordered 2

gets converted to

<ul>
<li><p>unordered <s>item 1</s></p></li>

<li><p>unordered <mark>item 2</mark></p></li>

<li><p>unordered item 3</p></li>
</ul>

<ol>
<li><p>ordered item 1</p></li>
</ul>

<li><p>ordered item 2</p></li>
</ol>

<ul>
<li><p>unordered item after ordered 1</p></li>

<li><p>unordered item after ordered 2</p></li>
</ul>
In the example, ordered list has a stray `</ul>` randomly. I think this is due to state transition error? ``` - unordered ~~item 1~~ - unordered ==item 2== - unordered item 3 1. ordered item 1 2. ordered item 2 - unordered item after ordered 1 - unordered item after ordered 2 ``` gets converted to ``` <ul> <li><p>unordered <s>item 1</s></p></li> <li><p>unordered <mark>item 2</mark></p></li> <li><p>unordered item 3</p></li> </ul> <ol> <li><p>ordered item 1</p></li> </ul> <li><p>ordered item 2</p></li> </ol> <ul> <li><p>unordered item after ordered 1</p></li> <li><p>unordered item after ordered 2</p></li> </ul> ```
Author
Owner
https://git.thejerks.club/j4nk/md4tj/commit/141d000ff4b44c5ec7d2dab19fd244e884b31761
j4nk closed this issue 2024-03-30 20:46:49 -04:00
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: j4nk/md4tj#25
No description provided.