Skip to content
This repository was 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

@mlapla

Description

@mlapla

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>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions