Closed iessa-pragg-ctct closed 1 week ago
This still fails in version 3.3.2, looks like it is fixed in v4.
Indeed, that has been addressed in main
, which is the current release candidate.
If you want to use it now, you can do use v4.0.0-rc.0, or wait for it to be the official release!
Describe the bug Running SVGO 3.0.2 on an asset that contains a numbered HTML entity (
&
) causes a syntax parsing error. Replacing the numbered entity with its equivalent named version works&
.To Reproduce Steps to reproduce the behavior:
<svg><text>Foo & Bar</text></svg>
Expected behavior SVGO should handle numbered HTML entities.
Extra Info This problem does not occur with SVGO 2
Desktop (please complete the following information):