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'] . '