mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-12-29 11:01:34 +08:00
Resolve #333
This commit is contained in:
parent
5135aa64c9
commit
d2e8a2dba4
1 changed files with 3 additions and 4 deletions
|
@ -174,7 +174,7 @@ export const
|
||||||
|
|
||||||
let value;
|
let value;
|
||||||
|
|
||||||
if ('TABLE' === name) {
|
// if ('TABLE' === name || 'TD' === name) {
|
||||||
if (hasAttribute('width')) {
|
if (hasAttribute('width')) {
|
||||||
oStyle.width = getAttribute('width');
|
oStyle.width = getAttribute('width');
|
||||||
delAttribute('width');
|
delAttribute('width');
|
||||||
|
@ -184,9 +184,8 @@ export const
|
||||||
oStyle.maxWidth = value;
|
oStyle.maxWidth = value;
|
||||||
oStyle.width = '100%';
|
oStyle.width = '100%';
|
||||||
}
|
}
|
||||||
}
|
// } else
|
||||||
|
if ('A' === name) {
|
||||||
else if ('A' === name) {
|
|
||||||
value = oElement.href;
|
value = oElement.href;
|
||||||
if (!/^([a-z]+):/i.test(value)) {
|
if (!/^([a-z]+):/i.test(value)) {
|
||||||
setAttribute('data-x-broken-href', value);
|
setAttribute('data-x-broken-href', value);
|
||||||
|
|
Loading…
Reference in a new issue