discourse/spec/fixtures/images/bad-xml-icon-sprite.svg
Penar Musaraj f7ab852e12
FIX: Issues with custom icons in themes (#13732)
Fixes two issues:
- ignores invalid XML in custom icon sprite SVG file (and outputs an error if sprite was uploaded via admin UI)
- clears SVG sprite cache when deleting an `icons-sprite` upload in a theme
2021-07-14 15:18:29 -04:00

6 lines
240 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<svg width="0" height="0" class="hidden">
<symbol id="mytheme-icon-menu xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path d="M0 0h24v24H0V0z" fill="#9c9c9c"></path>
</symbol>
</svg>