diff --git a/api/src/Html/HtmLawed.php b/api/src/Html/HtmLawed.php index a5710ab2ff..19379e4717 100644 --- a/api/src/Html/HtmLawed.php +++ b/api/src/Html/HtmLawed.php @@ -92,7 +92,7 @@ class HtmLawed 'tidy'=>0, 'elements' => "* -script", 'deny_attribute' => 'on*', - 'schemes'=>'href: file, ftp, http, https, mailto; src: cid, data, file, ftp, http, https; *:file, http, https', + 'schemes'=>'href: file, ftp, http, https, mailto, tel, phone; src: cid, data, file, ftp, http, https; *:file, http, https', 'hook_tag' =>"hl_my_tag_transform", ); $this->Spec = 'img=alt(noneof="image"/default="")'; diff --git a/api/src/Mail.php b/api/src/Mail.php index 4248ca04da..4a9fcadcce 100644 --- a/api/src/Mail.php +++ b/api/src/Mail.php @@ -143,7 +143,7 @@ class Mail 'tidy'=>0, 'elements' => "* -script", 'deny_attribute' => 'on*', - 'schemes'=>'href: file, ftp, http, https, mailto, phone; src: cid, data, file, ftp, http, https; *:file, http, https, cid, src', + 'schemes'=>'href: file, ftp, http, https, mailto, phone, tel; src: cid, data, file, ftp, http, https; *:file, http, https, cid, src', 'hook_tag' =>"hl_email_tag_transform", );