Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: allow single quote ID wrapper #2580

Merged
merged 1 commit into from
Dec 17, 2024
Merged

Conversation

jakex7
Copy link
Member

@jakex7 jakex7 commented Dec 17, 2024

Summary

The SVG specification does not strictly standardize linking, and most browsers permit the use of ' as a wrapper in url links. As a result, I've added support for URLs such as url('#id').

Test Plan

url(#id) and url('#id') should do the exact same thing.

Closes #1768

@jakex7 jakex7 merged commit b4fa586 into main Dec 17, 2024
2 of 3 checks passed
@jakex7 jakex7 deleted the @jakex7/allowSingleQuoteIdWrapper branch December 17, 2024 09:58
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SVG from XML rendering incorrectly
1 participant