css-to-radium
css-to-radium copied to clipboard
UTF8 Character codes aren't escaped properly
I believe this CSS demonstrates a bug I found:
div:before {
content: '\0026';
}
css-to-radium transpiles it to:
{
'div:before': {
content: '\'\0026\''
}
}
This is incorrect JS, however, because the \
in \0026
needs to be escaped as well, like so:
{
'div:before': {
content: '\'\\0026\''
}
}