Allow <link/> in HTMLText->exists() (fixes #850)

This commit is contained in:
Ingo Schommer 2013-09-18 11:39:05 +02:00
parent c349322b7e
commit b9e205abbf

View File

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