Skip to content

Preserve tag name cases #25

Closed as not planned
Closed as not planned
@quadratz

Description

@quadratz

Initial checklist

Problem

Add an option to preserve the case of HTML tags. This is similar to issue #18, but for HTML tags in general.

Currently, this

{
      "type": "raw",
      "value": "<TabGroup><Tab lang='js' title='JavaScript' /></TabGroup>",     
}

will yield

 {
      "type": "element",
      "tagName": "tabgroup",
      // ...
 }

Solution

TabGroup and Tab should be cased.
It should produce this output instead

 {
      "type": "element",
      "tagName": "TabGroup",
      // ...
 }

Metadata

Metadata

Assignees

No one assigned

    Labels

    👎 phase/noPost cannot or will not be acted on🤷 no/invalidThis cannot be acted upon

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions