This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
Concistency issue between ordered lists and unordered lists nestings in paragraphs #244
Open
1 task done
Prerequisites
Description
Highlighting is inconsistent between ordered lists and unordered lists within paragraphs:
nesting unordered lists or ordered lists in a paragraph is no longer recommended by w3:
https://html.spec.whatwg.org/multipage/grouping-content.html#the-p-element
(in the notes they demonstrate this).
Hence, syntax highlighting may choose to softly allow this nesting to be recognized or to mark it as an error. Nesting
<p> <-- <ul>
is highlighted without any errors while<p> <-- <ol>
does.The issue is simply that a highlighting choice should be made and then be applied to both.
Steps to Reproduce
<p><ul></ul></p> <p><ol></ol></p>
.The text was updated successfully, but these errors were encountered: