From ab00581dc6cdadb551a9161758dcc98696c80edb Mon Sep 17 00:00:00 2001 From: Josh Ashton Date: Sat, 5 Apr 2025 13:38:06 -0600 Subject: [PATCH] sync --- functions/article_functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/article_functions.php b/functions/article_functions.php index f220027..4aedd18 100644 --- a/functions/article_functions.php +++ b/functions/article_functions.php @@ -96,14 +96,14 @@ function article_page_from_markdown($article_id) $lines = preg_split("/\r\n|\n|\r/", $article_content); foreach ($lines as $line) if (str_contains($line, '

')) - $article_toc .= '

' . extract_content_from_tag($line, '

', '

') . '

'; + $article_toc .= '

' . extract_content_from_tag($line, '

', '

') . '


'; $html = '

' . $article['title'] . '

-
Written by ' . $author['username'] . '
+
Written by ' . $author['username'] . '

Published on ' . $article['published_at'] . '