diff --git a/dev/Common/Html.js b/dev/Common/Html.js
index 6d2372353..73fb9a6cf 100644
--- a/dev/Common/Html.js
+++ b/dev/Common/Html.js
@@ -170,9 +170,11 @@ export const
else if ('TABLE' === name && hasAttribute('width')) {
value = getAttribute('width');
- delAttribute('width');
- oStyle.maxWidth = value + (/^[0-9]+$/.test(value) ? 'px' : '');
- oStyle.removeProperty('width');
+ if (!value.includes('%')) {
+ delAttribute('width');
+ oStyle.maxWidth = value + 'px';
+ oStyle.removeProperty('width');
+ }
}
else if ('A' === name) {