From: Michael Orlitzky Date: Wed, 25 Oct 2023 20:54:46 +0000 (-0400) Subject: svgclean.xsl: new XSL stylesheet to help clean up our inkscape mess X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=f37ecaec80b6433bf6fb58c6d0294ffeddde0cec;p=charm-bypass.git svgclean.xsl: new XSL stylesheet to help clean up our inkscape mess There are a few more cleanup/minimization opportunities left in our SVG, even after it has been scoured. For example, inkscape wraps all of its text in redundant elements, even when the parent has the same style as the sole . We'd like to remove those, to simplify the code and save space. XSLT can do this. This new stylesheet can do this. We add it now, in preparation for yet another SVG processing phase. --- diff --git a/svgclean.xsl b/svgclean.xsl new file mode 100644 index 0000000..2a1c2d2 --- /dev/null +++ b/svgclean.xsl @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + +