* Replaces the old tokenizer with a new one which doesn't use any escaping.
* Replaces the old `@import` inlining with one on top of the new tokenizer.
* Simplifies URL rebasing with a single `rebaseTo` option in API or inferred from `--output` in CLI.
+* Fixed issue [#432](https://github.com/jakubpawlowicz/clean-css/issues/432) - adds URLs normalization.
* Fixed issue [#657](https://github.com/jakubpawlowicz/clean-css/issues/657) - adds property name validation.
* Fixed issue [#686](https://github.com/jakubpawlowicz/clean-css/issues/686) - adds rounding precision for all units.
* Fixed issue [#756](https://github.com/jakubpawlowicz/clean-css/issues/756) - adds disabling font-weight optimizations.
var unquotedUrl = strippedUrl
.replace(QUOTE_PREFIX_PATTERN, '')
- .replace(QUOTE_SUFFIX_PATTERN, '');
+ .replace(QUOTE_SUFFIX_PATTERN, '')
+ .trim();
var quote = strippedUrl[0] == SINGLE_QUOTE || strippedUrl[0] == DOUBLE_QUOTE ?
strippedUrl[0] :
--- /dev/null
+.c,.c-10,.c-11,.c-12,.c-2,.c-3,.c-4,.c-5,.c-6,.c-7,.c-8,.c-9{background-image:url(test/fixtures/images/image.png)}
--- /dev/null
+/* Assets with non-stylistic syntax */
+
+.c {
+
+ background-image:url('images/image.png');
+
+}
+
+.c-2 {
+
+ background-image: url('images/image.png');
+
+}
+
+.c-3 {
+
+ background-image:
+ url('images/image.png');
+
+}
+
+.c-4 {
+
+ background-image: url( 'images/image.png');
+
+}
+
+.c-5 {
+
+ background-image: url(
+'images/image.png');
+
+}
+
+.c-6 {
+
+ background-image: url(' images/image.png');
+
+}
+
+.c-7 {
+
+ background-image: url('images/image.png ');
+
+}
+
+.c-8 {
+
+ background-image: url('images/image.png' );
+
+}
+
+.c-9 {
+
+ background-image: url('images/image.png'
+);
+
+}
+
+.c-10 {
+
+ background-image: url('images/image.png') ;
+
+}
+
+.c-11 {
+
+ background-image: url('images/image.png')
+;
+
+}
+
+.c-12 {
+
+ background-image: URL('images/image.png');
+
+}