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

Don't wrap ampersands inside of the ignored tags. #22

Merged
merged 1 commit into from Dec 1, 2014
Merged

Don't wrap ampersands inside of the ignored tags. #22

merged 1 commit into from Dec 1, 2014

Conversation

JoshOldenburg
Copy link
Contributor

This will ignore an ampersand if it is inside of a tag matched by /<(\/)?(pre|code|kbd|script|math|title)[^>]*>/i. Previously, ampersands inside of script tags would be wrapped. This also adds a test.

ekalinin added a commit that referenced this pull request Dec 1, 2014
Don't wrap ampersands inside of the ignored tags.
@ekalinin ekalinin merged commit 2d3e59c into ekalinin:master Dec 1, 2014
@ekalinin
Copy link
Owner

ekalinin commented Dec 1, 2014

Thanks!

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