h2m converter fails to convert some <dl>
elements
#4307
Labels
🧑🤝🧑 community
contributions by our wonderful community
🐌 idle
Issues and PRs without recent activity. Flagged for maintainer follow-up.
markdown
markdown related issues and pull requests
I'm not exactly sure of the problem, but the h2m converter can't convert certain
<dl>
elements. In particular this seems to happen when a<dd>
immediately contains another list element or pre block.For example, the following will not be converted:
The following will be converted:
These are not very common, but they don't seem invalid to me. Real-world examples:
https://developer.mozilla.org/en-US/docs/Web/CSS/@page/size
https://developer.mozilla.org/en-US/docs/Web/CSS/basic-shape
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts
https://developer.mozilla.org/en-US/docs/Web/CSS/url()
https://developer.mozilla.org/en-US/docs/Web/CSS/visibility
The text was updated successfully, but these errors were encountered: