Issue Task Closed

#55690Make concatenateCss and compressCss generate valid CSS

Thomas Pronold 02/05/14, 11:13 updated 10/02/18, 12:08

Description

config.concatenateCss = 1
config.compressCss = 1

do both invalid CSS.
——————————————————-
Problem with:
config.concatenateCss = 1

output will be:
/* moved by compressor */
@charset “UTF-8”;

thats not valid css. charset "UTF-8"; has to be the first line. no comments allowed before charset “UTF-8”;

———————————-
Problem with:
config.compressCss = 1

output will be:
@charset“UTF-8”;

problem: between @charset and “UTF-8” has to be a space character

Reviews 2