Closed nosovk closed 3 years ago
This would be a backwards incompatible change, yes? Is there a way we can detect URL encoding and only optionally decode?
probably it shouldn't broke anything, because decodeURIComponent wouldn't change correct svg. We can add additional check with containsEncodedComponents, but unfortunately it will not protect from breaking SVG's. In common normal svg shouldn't be affected at all.
Right, that makes sense
in latest versions of rollup svg content is encoded. To avoid that added
decodeURIComponent(source);