From db46e49c9de776f6092c5e4426449cc8b2620b01 Mon Sep 17 00:00:00 2001 From: moodler Date: Wed, 10 Mar 2004 02:19:34 +0000 Subject: [PATCH] Use break_up_long_words --- mod/forum/post.php | 2 ++ 1 file changed, 2 insertions(+) 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"]; -- 2.39.5