r738: nl2br() the topic body
authorRobert Sesek <rsesek@bluestatic.org>
Sun, 15 Jan 2006 20:41:13 +0000 (20:41 +0000)
committerRobert Sesek <rsesek@bluestatic.org>
Sun, 15 Jan 2006 20:41:13 +0000 (20:41 +0000)
help.php

index 92cdaaad20addc60af74b86ad6e847b3f6da1b57..dbf9dd538dec4b1dbda7b06782ab1846aa4abfd7 100644 (file)
--- a/help.php
+++ b/help.php
@@ -26,6 +26,7 @@ if (!$bugsys->in['topic'] OR !isset($bugsys->datastore['help'][ $bugsys->in['top
 else
 {
        $topic = $bugsys->datastore['help'][ $bugsys->in['topic'] ];
+       $topic['body'] = nl2br($topic['body']);
 }
 
 eval('$template->flush("' . $template->fetch('help_window') . '");');