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

fallback for attribute names to unchanged name #81

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

wellenvogel
Copy link

Would be helpful to use the unmodified attribute name as a fallback when there is no internal mapping of attributes. This would allow a transform or processNodes function to implement some special handling for attributes (like e.g. dealing with event handlers).
In any case the htmlparser2 already converts attributes to lower case - so there should be no compatibility problem for existing code.

@coveralls
Copy link

coveralls commented Nov 2, 2020

Coverage Status

Coverage remained the same at 100.0% when pulling c73314b on wellenvogel:master into e89bba4 on wrakky:master.

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.

2 participants