From 8850bdb745e3c7ee8f789a9ffe7bbe8c84536455 Mon Sep 17 00:00:00 2001
From: BodgeMaster <>
Date: Thu, 2 Sep 2021 05:11:58 +0200
Subject: [PATCH] fucking semicolons
---
threadr/board/board.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/threadr/board/board.php b/threadr/board/board.php
index e575213..de5de1e 100644
--- a/threadr/board/board.php
+++ b/threadr/board/board.php
@@ -14,7 +14,7 @@ foreach($statement->fetchAll() as $ROW) {
$post_content = htmlspecialchars($ROW['content']);
// 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
+ $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);
echo "