From d2e8a2dba4bafb648d39f4bd4e5ba0fd73d741fc Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Wed, 20 Apr 2022 22:07:20 +0200 Subject: [PATCH] Resolve #333 --- dev/Common/Html.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/dev/Common/Html.js b/dev/Common/Html.js index 2a5b53b8a..83c014859 100644 --- a/dev/Common/Html.js +++ b/dev/Common/Html.js @@ -174,7 +174,7 @@ export const let value; - if ('TABLE' === name) { +// if ('TABLE' === name || 'TD' === name) { if (hasAttribute('width')) { oStyle.width = getAttribute('width'); delAttribute('width'); @@ -184,9 +184,8 @@ export const oStyle.maxWidth = value; oStyle.width = '100%'; } - } - - else if ('A' === name) { +// } else + if ('A' === name) { value = oElement.href; if (!/^([a-z]+):/i.test(value)) { setAttribute('data-x-broken-href', value);