-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
fix(svg): prevent empty attributes #13545
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
Conversation
🦋 Changeset detectedLatest commit: b366883 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
CodSpeed Performance ReportMerging #13545 will not alter performanceComparing Summary
|
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.
Thank you @stramel , can you please add a changeset?
|
@ematipico please take another look at these changes. Verified the fix on ultrahtml side and the test still passes |
* fix(svg): prevent empty attributes * create changeset * bump ultrahtml instead Co-authored-by: ematipico <[email protected]>
Changes
Updating to the latest 1.6.0 which fixes the issue and brings in some optimizations to the regexes it uses.
Fixes #13496
Testing
Added a test to assert that there were no empty attributes
=""in the resultant html with an SVG known to produce it.Docs
Not necessary as this is just a bug fix.