You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a problem that is slightly anoying though. When the CSS property is containing a single-quote, the JavaScript syntax is incorrect.
Example: if you transform: content: '';, the output will be content: '''', (4 single-quotes) which is incorrect. It should be either content: '""', or content: '\\\'\\\'',.
The worst example would be: content: 'I\'m bugged'; that will be transformed to content: ''I\'m bugged'',. It should be transformed to: '\'I\\\'m bugged\'', or '"I\\\'m bugged"'.
Or maybe it would be easier to use the backtick (`) in those situations.
The text was updated successfully, but these errors were encountered:
First and foremost, awesome plugin I love it!
There is a problem that is slightly anoying though. When the CSS property is containing a single-quote, the JavaScript syntax is incorrect.
Example: if you transform:
content: '';
, the output will becontent: '''',
(4 single-quotes) which is incorrect. It should be eithercontent: '""',
orcontent: '\\\'\\\'',
.The worst example would be:
content: 'I\'m bugged';
that will be transformed tocontent: ''I\'m bugged'',
. It should be transformed to:'\'I\\\'m bugged\'',
or'"I\\\'m bugged"'
.Or maybe it would be easier to use the backtick (`) in those situations.
The text was updated successfully, but these errors were encountered: