enable starHack option

This commit is contained in:
tophf 2020-09-24 16:22:28 +03:00
parent 038629517e
commit e0a7372f4f

View File

@ -18,7 +18,7 @@ function parseMozFormat({code, styleId}) {
'regexp': 'regexps',
};
const hasSingleEscapes = /([^\\]|^)\\([^\\]|$)/;
const parser = new parserlib.css.Parser();
const parser = new parserlib.css.Parser({starHack: true});
const sectionStack = [{code: '', start: 0}];
const errors = [];
const sections = [];