We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc8ae04 commit ba83311Copy full SHA for ba83311
lib/parse/index.js
@@ -198,7 +198,7 @@ module.exports = function(css, options){
198
* http://ostermiller.org/findcomment.html */
199
return trim(m[0])
200
.replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g, '')
201
- .replace(/(?:"[^"]*"|'[^']*')/g, function(m) {
+ .replace(/(?:"(?:\\"|[^"])*")|(?:'(?:\\'|[^'])*')/g, function(m) {
202
return m.replace(/,/g, '\u200C');
203
})
204
.split(/\s*(?![^(]*\)),\s*/)
0 commit comments