Permalink
Browse files

better cleaning of post title SC#251; backported from MOODLE_16_STABLE

  • Loading branch information...
skodak
skodak committed May 15, 2006
1 parent 9bc5c7f commit 4e13cae284d82d6f77e384316c4e09c9b5871f96
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/forum/post.php
View
@@ -73,7 +73,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

0 comments on commit 4e13cae

Please sign in to comment.