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
feat(parseStyleAttributes): add option to skip style parsing [fix 547] #596
feat(parseStyleAttributes): add option to skip style parsing [fix 547] #596
Conversation
Thanks. Does |
@boutell Good point, i added some extra text in the readme to make the user aware of this:
|
Good stuff. I think we also should throw an error when |
@boutell fixed, when they are used together you get this error:
|
@boutell fixed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. We're down to README tweaks now...
@boutell fixed |
Thanks! |
This will fix #547
This PR introduces a new option:
By default set to true, to match the current behavior. But a user can set it to false, to skip parsing style tags.
This can avoid issues when the package is used in the browser.