mrclay / minify

Combines. minifies, and serves CSS or Javascript files
BSD 3-Clause "New" or "Revised" License
3.01k stars 472 forks source link

<![CDATA[ being stripped from SVG, incorrectly. #673

Open MattWilcox opened 4 years ago

MattWilcox commented 4 years ago

This is a valid SVG: http://hbleisure.website.viewcreative.agency/assets/images/world-map.svg

If there's minify applied around it, minify appears to strip <![CDATA[ and ]]> from inside the SVG, which causes the SVG to break.