Remove meta tag by HtmLawed

This commit is contained in:
Hadi Nategh 2018-06-18 11:08:30 +02:00
parent 12bc1f2d22
commit 836489c31c
2 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ class HtmLawed
// tidy eats away even some wanted whitespace, so we switch it off;
// we used it for its compacting and beautifying capabilities, which resulted in better html for further processing
'tidy'=>0,
'elements' => "* -script",
'elements' => "* -script -meta",
'deny_attribute' => 'on*',
'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",

View File

@ -141,7 +141,7 @@ class Mail
// tidy eats away even some wanted whitespace, so we switch it off;
// we used it for its compacting and beautifying capabilities, which resulted in better html for further processing
'tidy'=>0,
'elements' => "* -script",
'elements' => "* -script -meta",
'deny_attribute' => 'on*',
'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",