FIX Saving of custom meta tags (fixes #8288)

This should allow custom meta tags to be saved in the admin panel.

Also, if you use html5 video or audio the source sub tag
would have been stripped two these are all the tags that may be empty
and are valid.
This commit is contained in:
Joseph Madden 2013-04-01 13:53:11 -05:00 committed by Ingo Schommer
parent f5754c11aa
commit df4d7428fa

View File

@ -149,7 +149,7 @@ class HTMLText extends Text {
}
// If it's got a content tag
if(preg_match('/<(img|embed|object|iframe)[^>]*>/i', $this->value)) {
if(preg_match('/<(img|embed|object|iframe|meta|source)[^>]*>/i', $this->value)) {
return true;
}