Removing a comment and spaces
You enter
- Svg
- <svg width="10" height="10"> <!-- background --> <rect width="10" height="10" fill="#fff" /> </svg>
You get
- Svg
- <svg width="10" height="10"><rect width="10" height="10" fill="#fff"/></svg>
- Characters before
- 109
- Characters after
- 76
The comment goes, line breaks and spaces between tags go, double spaces inside tags shrink to one, and the space before a closing slash goes too. The shapes are untouched.
Run through the tool’s own code.