### Expected Behavior fixupSvgString fixes common issues that make SVGs invalid. Probably any SVG uploaded to Scratch should have these fixes applied. This way, Scratch would support more SVGs. https://github.com/LLK/scratch-svg-renderer/blob/9ebf57588aa596c4fa3bb64209e10ade395aee90/src/fixup-svg-string.js#L51 ### Actual Behavior fixupSvgString is currently only called if optVersion == 2 here (i.e. when loading a sb2 or sprite2) https://github.com/LLK/scratch-vm/blob/e63993257210ce9f3a66ac764f7f4b1941f63fa5/src/import/load-costume.js#L10 _Describe what actually happens_ ### Steps to Reproduce _Explain what someone needs to do in order to see what's described in *Actual behavior* above_ ### Operating System and Browser _e.g. Mac OS 10.11.6 Safari 10.0_
Expected Behavior
fixupSvgString fixes common issues that make SVGs invalid. Probably any SVG uploaded to Scratch should have these fixes applied. This way, Scratch would support more SVGs.
https://github.com/LLK/scratch-svg-renderer/blob/9ebf57588aa596c4fa3bb64209e10ade395aee90/src/fixup-svg-string.js#L51
Actual Behavior
fixupSvgString is currently only called if optVersion == 2 here (i.e. when loading a sb2 or sprite2)
https://github.com/LLK/scratch-vm/blob/e63993257210ce9f3a66ac764f7f4b1941f63fa5/src/import/load-costume.js#L10
Describe what actually happens
Steps to Reproduce
Explain what someone needs to do in order to see what's described in Actual behavior above
Operating System and Browser
e.g. Mac OS 10.11.6 Safari 10.0