diff --git a/public/scripts/chats.js b/public/scripts/chats.js index 3187276d7..4bea9ed58 100644 --- a/public/scripts/chats.js +++ b/public/scripts/chats.js @@ -471,6 +471,9 @@ export function decodeStyleTags(text) { const rules = ast?.stylesheet?.rules; if (rules) { for (const rule of rules) { + if (rule.type === 'import') { + rules.splice(rules.indexOf(rule), 1); + } if (rule.type === 'rule') { if (rule.selectors) {