normalizeString

标准化双引号(默认)或单引号的使用,以实现更好的 gzip 压缩。还可以移除出于美观目的而插入的换行符。如果你喜欢单引号,你可以设置 preferredQuote: 'single'

示例

输入

.box {
    quotes: '«' "»";
    content: 'This is a string which is \
broken over multiple lines.';
}

输出

.box {
    quotes: "«" "»";
    content: "This is a string which is broken over multiple lines.";
}