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
- Open a .html file.
- Write:
<p><ul></ul></p> <p><ol></ol></p>.
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>.