We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When nesting lists the text of a list is wrapped in an additional <p>.
<p>
See the test case in https://github.com/adobe/helix-html2md/compare/nested-lists-roundtrip
Examples:
<li><a href="#" title="Navigate to Text 1">Text 1</a></li>
becomes
<li> <p><a href="#" title="Navigate to Text 1">Text 1</a></p> </li>
The text was updated successfully, but these errors were encountered:
and when you input <li><p>...</p></li> ?
<li><p>...</p></li>
Sorry, something went wrong.
That works, yes. If we do this, we have different representation than content coming from doc-based authoring.
(We took the html from https://main--kuckstdu--msagolj.hlx.page/TipsAndTricks/unbenanntes-dokument as input)
It seems that the spread out of lists containing block elements is intentional and I would agree to some extend. However, I think it is more important to produce the same markdown a doc-based project would use.
reverted with #539
Successfully merging a pull request may close this issue.
When nesting lists the text of a list is wrapped in an additional
<p>
.See the test case in https://github.com/adobe/helix-html2md/compare/nested-lists-roundtrip
Examples:
becomes
The text was updated successfully, but these errors were encountered: