gulp-css-urlencode-inline-svgs

JSON →
library 0.0.7 ·javascript
verified Jun 4, 2026

A Gulp plugin that URL-encodes inline SVG data URIs in CSS to ensure cross-browser compatibility, particularly for Firefox and IE. It transforms data:image/svg+xml;utf8 URIs by percent-encoding characters like <, >, " to prevent parsing issues. Version 0.0.7 is the latest and appears to be stable with low release activity. It operates on plain CSS, intended to be used after CSS preprocessing and autoprefixing but before minification. The plugin is minimal, focusing solely on encoding SVGs, with no other transformations, making it a focused tool for a specific problem.