Skip to content
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
mlapla opened this issue Aug 8, 2020 · 0 comments
Open
1 task done

Comments

@mlapla
Copy link

mlapla commented Aug 8, 2020

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

  1. Open a .html file.
  2. Write: <p><ul></ul></p> <p><ol></ol></p>.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant