This commit is contained in:
2026-02-01 00:29:35 +01:00
parent 7f01e4f9f1
commit 45789e8ad2
2 changed files with 31 additions and 34 deletions

View File

@@ -1 +1 @@
1.1.78
1.1.79

View File

@@ -484,7 +484,6 @@
}
if (component && component.view && component.view.el) {
const viewEl = component.view.el;
const hasInline = /<span\b|style\s*=/i.test(htmlSource);
const inlineComputedStyles = (sourceEl) => {
try {
const docRef = sourceEl.ownerDocument || document;
@@ -532,7 +531,6 @@
return '';
}
};
if (!hasInline) {
const inlined = inlineComputedStyles(viewEl);
if (inlined) {
htmlSource = inlined;
@@ -565,7 +563,6 @@
} catch {}
}
}
}
const initialHtml = this.sanitizeInlineHtml(htmlSource, modelContent || '');
content.innerHTML = initialHtml;
const existingStyle = component && component.get && component.get('style') ? component.get('style') : null;