changcheng / wro4j

Automatically exported from code.google.com/p/wro4j
0 stars 0 forks source link

Backslashes in CSS duplicated #383

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Create CSS file with UTF escape sequence, eg

    .foo:after {
        content: "\25B2";
    }

   This is valid CSS. See http://stackoverflow.com/a/5030594/283366

2. Use runtime filter with cssMinJawr post processor

What is the expected output? What do you see instead?

Expect to see CSS as written. Instead, backslashes are duplicated

    .foo:after {
        content: "\\25B2";
    }

This breaks the unicode sequence.

What version of the product are you using? On what operating system?

1.4.2

Original issue reported on code.google.com by gnoodl on 29 Feb 2012 at 12:00

GoogleCodeExporter commented 9 years ago

Original comment by alex.obj...@gmail.com on 29 Feb 2012 at 8:11

GoogleCodeExporter commented 9 years ago
Fixed in branch 1.4.x. Now using latest version of jawr cssMinifier.

Original comment by alex.obj...@gmail.com on 29 Feb 2012 at 8:37