diff --git a/mod/forum/post.php b/mod/forum/post.php index b2bd7091db3..db38dd39193 100644 --- a/mod/forum/post.php +++ b/mod/forum/post.php @@ -79,7 +79,7 @@ $errordestination = $SESSION->fromurl; } - $post->subject = strip_tags($post->subject, ''); // Strip all tags except lang + $post->subject = clean_text(strip_tags($post->subject, '')); // Strip all tags except lang //$post->message = clean_text($post->message, $post->format); // Clean up any bad tags