v2.1.0
This release introduced two big changes
- we forked sax parser to fix issues inaccessible from public api (https://github.com/svg/sax)
- we added regression tests which already caught 4 bugs (WIP)
See fixed bugs
- fixed empty
<svg />
with enabled cleanupIDs plugin (9b97e06) - fail when file specified in
--config
flag does not exist or json string is specified (a855b40) - disabled convertStyleToAttrs by default (#1365)
- preserve whitespace in elements containing text (#1220)
- fixed removing
xml:space="preserve"
(776ec1e) - preserve whitespace in nested textual elements (9de471a)
- keep empty
<g>
whenfilter
attribute is specified (c1d5f0f) - fixed parsing xml entities (#1371 isaacs/sax-js#200)
Thanks to @XhmikosR @sk- @chromakode @devongovett and @TrySound