Skip to content

Fix for SVG sanitizing - #11742

Merged
SchrodingersGat merged 1 commit into
inventree:masterfrom
SchrodingersGat:svg-fix
Apr 14, 2026
Merged

SchrodingersGat merged 1 commit into
inventree:masterfrom
SchrodingersGat:svg-fix

Conversation

@SchrodingersGat

Copy link
Copy Markdown
Member

- Clear our non-breaking-space characters
- These can break SVG rendering in the browser
- Ref: inventree#11655
@netlify

netlify Bot commented Apr 14, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for inventree-web-pui-preview ready!

Name Link
🔨 Latest commit 5699d05
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/69dd9b57e7f2df0008fa139f
😎 Deploy Preview https://deploy-preview-11742--inventree-web-pui-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 93 (🟢 up 2 from production)
Accessibility: 81 (no change from production)
Best Practices: 100 (no change from production)
SEO: 78 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@SchrodingersGat SchrodingersGat added bug Identifies a bug which needs to be addressed backport Apply this label to a PR to enable auto-backport action backport-to-1.3.x labels Apr 14, 2026
@SchrodingersGat SchrodingersGat added this to the 1.4.0 milestone Apr 14, 2026
@codecov

codecov Bot commented Apr 14, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.34%. Comparing base (1e968a5) to head (5699d05).
⚠️ Report is 373 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #11742   +/-   ##
=======================================
  Coverage   91.34%   91.34%           
=======================================
  Files         967      967           
  Lines       50272    50274    +2     
=======================================
+ Hits        45922    45924    +2     
  Misses       4350     4350           
Flag Coverage Δ
backend 89.24% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
Backend Apps 91.70% <ø> (ø)
Backend General 93.40% <ø> (ø)
Frontend ∅ <ø> (∅)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SchrodingersGat
SchrodingersGat merged commit cead09b into inventree:master Apr 14, 2026
40 checks passed
@SchrodingersGat
SchrodingersGat deleted the svg-fix branch April 14, 2026 02:48
github-actions Bot pushed a commit that referenced this pull request Apr 14, 2026
- Clear our non-breaking-space characters
- These can break SVG rendering in the browser
- Ref: #11655

(cherry picked from commit cead09b)
@github-actions

Copy link
Copy Markdown
Contributor

💚 All backports created successfully

Status Branch Result
✅ 1.3.x

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

SchrodingersGat added a commit that referenced this pull request Apr 14, 2026
- Clear our non-breaking-space characters
- These can break SVG rendering in the browser
- Ref: #11655

(cherry picked from commit cead09b)

Co-authored-by: Oliver <[email protected]>
martonmiklos pushed a commit to martonmiklos/InvenTree that referenced this pull request Jun 30, 2026
- Clear our non-breaking-space characters
- These can break SVG rendering in the browser
- Ref: inventree#11655
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Apply this label to a PR to enable auto-backport action bug Identifies a bug which needs to be addressed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant