mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 18:19:22 +03:00
Small fixes
This commit is contained in:
parent
016b3eead3
commit
d79947259b
4 changed files with 9 additions and 1 deletions
|
|
@ -562,6 +562,10 @@ class HtmlUtils
|
|||
$oElement->setAttribute('data-x-broken-href', $sHref);
|
||||
$oElement->setAttribute('href', 'javascript:false');
|
||||
}
|
||||
else if ('a' === $sTagNameLower)
|
||||
{
|
||||
$oElement->setAttribute('rel', 'external');
|
||||
}
|
||||
}
|
||||
|
||||
if ($oElement->hasAttribute('src'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue