Skip to content

Conversation

wooorm
Copy link
Member

@wooorm wooorm commented May 28, 2019

See:

Closes GH-11.

See:

*   <https://html.spec.whatwg.org/multipage/parsing.html#tag-name-state>

    The HTML tokenizer consumes ASCII upper alpha as lower alpha
*   <https://html.spec.whatwg.org/multipage/parsing.html#parsing-main-inforeign>

    SVG in HTML is therefore first lowercased, and afterwards has to
    be adjusted
*   <https://github.com/syntax-tree/hast#element>

    The hast spec already described the local name must be used on
    elements

Closes GH-11.
@wooorm wooorm merged commit dc80fc5 into master May 28, 2019
@wooorm wooorm deleted the tag-name-adjust branch May 28, 2019 11:10
@wooorm wooorm added ⛵️ status/released 🗄 area/interface This affects the public interface 🦋 type/enhancement This is great to have 🧑 semver/major This is a change labels Aug 11, 2019
@wooorm wooorm added the 💪 phase/solved Post is done label Apr 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🗄 area/interface This affects the public interface 💪 phase/solved Post is done 🧑 semver/major This is a change 🦋 type/enhancement This is great to have
Development

Successfully merging this pull request may close these issues.

Add support for normalising tag names
1 participant