Browse files

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.
  • Loading branch information...
1 parent f5754c1 commit df4d7428fa6535f4c6afbdcd35358047f85d1c5c @obj63mc obj63mc committed with chillu Apr 1, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 model/fieldtypes/HTMLText.php
2 model/fieldtypes/HTMLText.php
@@ -149,7 +149,7 @@ public function exists() {
// 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;

0 comments on commit df4d742

Please sign in to comment.