CSS escapes and formating

PHPStorm has problems with CSS escapes ( https://www.w3.org/International/questions/qa-escapes#cssescapes ):

100%{color: red;}

This syntax is not allowed, but it can written via CSS escapes:

.\31 00 \25{color: red;}

Unfortunately PHPStorm doesn't know about the escapes and throw out a "unexpected token" error. And reformat it obfuscated:

.\31

00
\25{
color: red;
}

 

 

0
1 comment

Please vote for https://youtrack.jetbrains.com/issue/WEB-21973 to be notified on any progress with it

0

Please sign in to leave a comment.