Remove meta tag by HtmLawed

This commit is contained in:
Hadi Nategh 2018-06-18 11:08:30 +02:00
parent 7ba77356d5
commit 5f3b59fe3d
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; // 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 // we used it for its compacting and beautifying capabilities, which resulted in better html for further processing
'tidy'=>0, 'tidy'=>0,
'elements' => "* -script", 'elements' => "* -script -meta",
'deny_attribute' => 'on*', 'deny_attribute' => 'on*',
'schemes'=>'href: file, ftp, http, https, mailto, tel, phone; 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", '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; // 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 // we used it for its compacting and beautifying capabilities, which resulted in better html for further processing
'tidy'=>0, 'tidy'=>0,
'elements' => "* -script", 'elements' => "* -script -meta",
'deny_attribute' => 'on*', 'deny_attribute' => 'on*',
'schemes'=>'href: file, ftp, http, https, mailto, phone, tel; 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", 'hook_tag' =>"hl_email_tag_transform",