Skip to content

Commit

Permalink
better cleaning of post title SC#251
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed May 15, 2006
1 parent a53b09c commit 848e124
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/forum/post.php
Expand Up @@ -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

Expand Down

0 comments on commit 848e124

Please sign in to comment.