Compare commits

..

No commits in common. "d63638541b1bba1b4e1d90fd9d963db1c3e1e688" and "f1c96eb6890726eac60219ebd5fc38187371d3b2" have entirely different histories.

1 changed files with 1 additions and 2 deletions

View File

@ -395,8 +395,7 @@ export function decodeStyleTags(text) {
return text.replaceAll(styleDecodeRegex, (_, style) => {
try {
let styleCleaned = unescape(style).replaceAll(/<br\/>/g, '');
const ast = css.parse(styleCleaned);
const ast = css.parse(unescape(style));
const rules = ast?.stylesheet?.rules;
if (rules) {
for (const rule of rules) {