]> git.mjollnir.org Git - moodle.git/commitdiff
Use break_up_long_words
authormoodler <moodler>
Wed, 10 Mar 2004 02:19:34 +0000 (02:19 +0000)
committermoodler <moodler>
Wed, 10 Mar 2004 02:19:34 +0000 (02:19 +0000)
mod/forum/post.php

index cae66662e01a7232a0d2f438c2c7e1f9350dec87..45ddbdb6b8e9710a8479e7b8ebad1fe737049a66 100644 (file)
@@ -21,6 +21,8 @@
         }
 
         $post->subject = strip_tags($post->subject, '<lang>');        // 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"];