mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +03:00
Bugfix width attribute as found in #343
This commit is contained in:
parent
af3d0dcb00
commit
3ed1872c44
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue