Fixed bad reference to util class

master
pecesama 2009-01-08 07:50:56 +00:00
parent b10b903c52
commit 3075f0adfc
1 changed files with 1 additions and 1 deletions

View File

@ -439,7 +439,7 @@ class util {
$validTags ='<p><ol><ul><li><a><abbr><acronym><blockquote><code><pre><em><i><strong><b><del><br><span><div><img>';
}
$source = strip_tags($source, $validTags);
return preg_replace('/<(.*?)>/ie', "'<'.removeBadAtributes('\\1').'>'", $source);
return preg_replace('/<(.*?)>/ie', "'<'.util::removeBadAtributes('\\1').'>'", $source);
}
function removeBadAtributes($sourceTag) {