cssbeautify
cssbeautify copied to clipboard
@font-face fails to format correctly.
Given the string b{font-family:"a";src:url("b";)}@font-face{font-family:"a";src:url("b";)}
Expected output is:
b {
font-family: "a";
src: url("b";);
}
@font-face {
font-family:"a";
src:url("b");
}
Actual output:
b {
font-family: "a";
src: url("b";);
}
@font-face {
font-family:"a";src:url("b");
}
The src
property should wrap. Oddly it does work if @font-face is first.
Let's take a look at the code to see what's happening here, 'cause I'm getting that odd output too...