better cleaning of post title SC#251

This commit is contained in:
skodak
2006-05-15 14:31:09 +00:00
parent a53b09c16b
commit 848e124eab
+1 -1
View File
@@ -79,7 +79,7 @@
$errordestination = $SESSION->fromurl;
}
$post->subject = strip_tags($post->subject, '<lang><span>'); // Strip all tags except lang
$post->subject = clean_text(strip_tags($post->subject, '<lang><span>')); // Strip all tags except lang
//$post->message = clean_text($post->message, $post->format); // Clean up any bad tags