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

Fix links with ampersands in URL #95

Merged

Conversation

stadelmanma
Copy link
Collaborator

Address a bug where URLs with ampersands cause a corrupted document.

Fixes #94

Without this Nokogiri will downcase the attributes for some reason
which I assume must be expected behavior since the issue hasn't been
fixed.
Issue Reference: sparklemotion/nokogiri#961
This test ensures URL get their ampeersands escaped correctly
without interfering with ones that are already escaped.
@stadelmanma stadelmanma changed the title Fix links with special characters Fix links with apmersands Mar 7, 2018
@stadelmanma stadelmanma changed the title Fix links with apmersands Fix links with ampersands in URL Mar 7, 2018
@stadelmanma stadelmanma merged commit 414ee7f into senny:master Mar 7, 2018
@stadelmanma stadelmanma deleted the fix-links-with-special-characters branch March 7, 2018 11:53
stadelmanma added a commit to stadelmanma/sablon that referenced this pull request Mar 7, 2018
This patch release fixes a bug in hyperlink URLs (see senny#95)
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

1 participant