diff --git a/threadr/board/board.php b/threadr/board/board.php index de5de1e..1c5290e 100644 --- a/threadr/board/board.php +++ b/threadr/board/board.php @@ -15,7 +15,7 @@ foreach($statement->fetchAll() as $ROW) { // add line breaks to post content, to be replaced with proper makrdown support in the future (see #44) $newlines = array("\r\n", "\n\r", "\r", "\n"); // two-character newlines first to prevent placing two line breaks instead of one - str_replace($newlines, "
", $post_content); + str_replace("\n", "
", $post_content); echo "

$post_title