asdsad
This commit is contained in:
@@ -1 +1 @@
|
||||
1.1.78
|
||||
1.1.79
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user