Skip to content

accept missing namespace #74

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

Merged
merged 1 commit into from
Mar 21, 2025
Merged

accept missing namespace #74

merged 1 commit into from
Mar 21, 2025

Conversation

swhitty
Copy link
Owner

@swhitty swhitty commented Mar 21, 2025

Inline SVGs need not include the xmlns="http://www.w3.org/2000/svg" namespace.

While files are supposed to include it, I see no harm in accept a missing namespace for both types as the alternative is an error where nothing is displayed.

Copy link

codecov bot commented Mar 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.99%. Comparing base (d9797bc) to head (0f1bcc3).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #74   +/-   ##
=======================================
  Coverage   83.99%   83.99%           
=======================================
  Files          82       82           
  Lines        7322     7322           
=======================================
  Hits         6150     6150           
  Misses       1172     1172           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@swhitty swhitty linked an issue Mar 21, 2025 that may be closed by this pull request
@swhitty swhitty merged commit 00ec241 into main Mar 21, 2025
18 checks passed
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.

Inlined SVG without xmlns namespace cannot be rendered.
1 participant