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

<strong> in <em> and <em> in <strong> are not supported by Document.parseLines #387

Open
taojoe opened this issue Dec 28, 2021 · 0 comments

Comments

@taojoe
Copy link

taojoe commented Dec 28, 2021

the following markdown is not parsed correctly by Document.parseLines.

the nodes1 should be a strong element and its children are 'aa' text and em element 'bb', but it's not. please have a look at the screenshot.

the nodes2 also has the problem.

final nodes1=doc.parseLines(r'** aa _bb_**'.split("\n"));
final nodes2=doc.parseLines(r'_ aa **bb**_'.split("\n"));

when debugging, I got the following nodes.

image

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

1 participant