fucking semicolons

master
BodgeMaster 2021-09-02 05:11:58 +02:00
parent 2c2db7de0a
commit 8850bdb745
1 changed files with 1 additions and 1 deletions

View File

@ -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, "<br />", $post_content);
echo "<section>