bug 1190: force linebreaks to be visible on the frontpage bug-1190
authorBenny Baumann <BenBE@geshi.org>
Tue, 20 Aug 2013 19:43:48 +0000 (21:43 +0200)
committerBenny Baumann <BenBE@geshi.org>
Tue, 20 Aug 2013 19:43:48 +0000 (21:43 +0200)
pages/index/0.php

index c369635..b1359f6 100644 (file)
@@ -62,7 +62,7 @@
                $description = recode_string("UTF8..html", $description);
 
                printf("<h3><a href=\"%s\">%s</a></h3>\n", $link, $title);
-               printf("<p>%s</p>\n", $description);
+               printf("<p>%s</p>\n", nl2br($description));
 
                $title = '';
                $description = '';