gulp-css-url-adjuster icon indicating copy to clipboard operation
gulp-css-url-adjuster copied to clipboard

Removing single quotes

Open ebess opened this issue 7 years ago • 0 comments

When processing the url, the aduster removes single quotes from urls. it destroys inline svgs.

source

  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"); }

result

  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns=http://www.w3.org/2000/svg viewBox=0 0 8 8%3E%3Cpath fill=%23fff d=M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z/%3E%3C/svg%3E");

styles are from bootstrap 4. #

ebess avatar Sep 06 '16 07:09 ebess