mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Globalize rl.loadScript()
This commit is contained in:
parent
0106751e64
commit
cd734c7d5d
3 changed files with 14 additions and 15 deletions
|
|
@ -55,17 +55,13 @@ export const
|
|||
leftmargin: (value, node) => node.style.marginLeft = pInt(value) + 'px',
|
||||
bottommargin: (value, node) => node.style.marginBottom = pInt(value) + 'px',
|
||||
rightmargin: (value, node) => node.style.marginRight = pInt(value) + 'px'
|
||||
};
|
||||
|
||||
// if (static::Config()->Get('labs', 'strict_html_parser', true))
|
||||
let
|
||||
value,
|
||||
},
|
||||
allowedAttributes = [
|
||||
// defaults
|
||||
'name',
|
||||
'dir', 'lang', 'style', 'title',
|
||||
'background', 'bgcolor', 'alt', 'height', 'width', 'src', 'href',
|
||||
'border', 'bordercolor', 'charset', 'direction', 'language',
|
||||
'border', 'bordercolor', 'charset', 'direction',
|
||||
// a
|
||||
'download', 'hreflang',
|
||||
// body
|
||||
|
|
@ -178,6 +174,8 @@ export const
|
|||
}
|
||||
}
|
||||
|
||||
let value;
|
||||
|
||||
if ('TABLE' === name) {
|
||||
if (hasAttribute('width')) {
|
||||
oStyle.width = getAttribute('width');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue