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

Line breaks missplaced with ordered lists #46

Open
aleckan opened this issue Mar 23, 2023 · 1 comment
Open

Line breaks missplaced with ordered lists #46

aleckan opened this issue Mar 23, 2023 · 1 comment

Comments

@aleckan
Copy link

aleckan commented Mar 23, 2023

Hi!

I'm having the html below:
This is plain text<br /><ol><li>Plain a list item</li><li><strong>Bold list item</strong></li><li><em>Italic list item</em></li></ol>Here we have a <a href=https://www.helloworld.com>link</a> as well!

This is parsed into
This is plain text \n\n\n 1. Plain a list item\n 2. **Bold list item**\n 3. _Italic list item_Here we have a \n\n[link](https:\/\/www.helloworld.com) as well!

The \n\n before [link] is missplaced and should be straight after Italic list item, it seams </ol> is ignored?

@tzi
Copy link
Member

tzi commented Mar 23, 2023

Hi!

Thanks a lot for this neat test case. I will run some tests on my side and let you know.

Cheers,
Thomas.

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