Skip to content

Add support for passing unadjusted tag names #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 28, 2019
Merged

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