diff --git a/dev/Common/Html.js b/dev/Common/Html.js index 83c014859..06dca78b9 100644 --- a/dev/Common/Html.js +++ b/dev/Common/Html.js @@ -176,7 +176,8 @@ export const // if ('TABLE' === name || 'TD' === name) { if (hasAttribute('width')) { - oStyle.width = getAttribute('width'); + value = getAttribute('width'); + oStyle.width = value.includes('%') ? value : value + 'px'; delAttribute('width'); } value = oStyle.width;