Lev Solntsev
Lev Solntsev
Actually, for current web browsers the only symbol needs to be escaped is “#”. Maybe it worth optimize data uri encoding…
True. Just noted here.
Maybe add an option to remove malformed style? Users may want to have garbage styles removed. But it's not clear if the styles wrong or just some new feature not...
It's about editing than something related to optimization and SVGO. But you can make viewBox smaller to focus 'window' of what SVG image shows. Or use some editor to crop...
@AmrAlSayed0 well, you can write a custom plugin for that. There are some caveats, however, with strokes that can have different joints types and filters. So, writing such general purpose...
Also, there are some tips for doing something like that at https://github.com/svg/svgo/issues/2005#issuecomment-2168264317
@alex-kowalczyk _id_ (the part before “.start” or “.end”) in XML is defined as [NameStartChar](https://www.w3.org/TR/xml/#NT-NameStartChar) ([NameChar](https://www.w3.org/TR/xml/#NT-NameChar))*, where ``` NameStartChar ::= ":" | [A-Z] | "_" | [a-z] | [#xC0-#xD6] | [#xD8-#xF6]...
It's actually a hard enough math problem. I'm not sure whether it solved anywhere. Perhaps something like shrink path by value (somehow found) in some editor may help, but that...
IE below version 9 didn't support SVG at all, so that's not the case. I think it's a bad wording. The purpose of the option is just to alter value...
> Sorry, which part do you think is a bad wording? Original part you referred to: > if a color is defined within an SVG you can't override the color...