Skip to content
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

Adding option to prevent tagnames from beeing lowercase. #95

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DhiaEddineSaidi
Copy link

Example << Angular components html templates >> need to preserve the case of the components tags(selectors)

Example << Angular components html templates >> need to preserve the case of the components tags(selectors)
@coveralls
Copy link

coveralls commented Jul 10, 2018

Coverage Status

Coverage remained the same at 100.0% when pulling df4bf05 on DhiaEddineSaidi:tagNameToLowerCaseOption into f0b8700 on andrejewski:master.

@andrejewski
Copy link
Owner

See #55 (comment).

I am against changing what tagName means in the current spec. Maybe we can add a rawStartingTagName and rawClosingTagName fields to the output as was done for position information.

The option name will have to change to be false by default, so something like includeRawTagNames.

Changing the meaning of voidTags such that if someone wanted proper semantics for img tags they would have to include all cases is not something to support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants