Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit df4d7428fa6535f4c6afbdcd35358047f85d1c5c 1 parent f5754c1
@obj63mc obj63mc authored chillu committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  model/fieldtypes/HTMLText.php
View
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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.