Removing a comment and spaces
Du skriver inn
- SVG
- <svg width="10" height="10"> <!-- background --> <rect width="10" height="10" fill="#fff" /> </svg>
Du får
- SVG
- <svg><text xml:space="preserve">a b</text></svg>
- Tegn før
- 109
- Tegn etter
- 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.
Kjørt med verktøyets egen kode.