Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paragraphs in <li> elements - incorrect indentation level #177

Closed
lofcz opened this issue Nov 13, 2024 · 0 comments
Closed

Paragraphs in <li> elements - incorrect indentation level #177

lofcz opened this issue Nov 13, 2024 · 0 comments

Comments

@lofcz
Copy link

lofcz commented Nov 13, 2024

Describe the bug
Whenever paragraphs are used in a <li>, their content is not correctly indented. Also notice the heading is not converted correctly, this affects any <hN> elements in <li>s.

Repro

<ul>
  <li>
    <h3>Heading</h3>
    <ol>
      <li>Text A</li>
    </ol>
    <ul>
      <li>Text B</li>
    </ul>
    <p>Paragraph text</p>
    <ul>
      <li>Item 1</li>
      <li>Item2</li>
    </ul>
  </li>
</ul>

Should be:
image

Currently is:
image

onizet added a commit that referenced this issue Nov 14, 2024
@onizet onizet closed this as completed Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants