From: moodler Date: Wed, 10 Mar 2004 02:19:34 +0000 (+0000) Subject: Use break_up_long_words X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=db46e49c9de776f6092c5e4426449cc8b2620b01;p=moodle.git Use break_up_long_words --- diff --git a/mod/forum/post.php b/mod/forum/post.php index cae66662e0..45ddbdb6b8 100644 --- a/mod/forum/post.php +++ b/mod/forum/post.php @@ -21,6 +21,8 @@ } $post->subject = strip_tags($post->subject, ''); // Strip all tags except lang + $post->subject = break_up_long_words($post->subject); + $post->message = clean_text($post->message, $post->format); // Clean up any bad tags $post->attachment = $_FILES["attachment"];