diff --git a/bot.php b/bot.php index 105c55b..79d0644 100644 --- a/bot.php +++ b/bot.php @@ -41,6 +41,7 @@ foreach ($articles as $article) { $description = $article['description']; // $description = strip_tags($description); $description = $pandoc->convert($description, "html", "markdown_github"); + $description = str_replace('####', '#', $description); $description = "$title\n\n".$description; $description .= ": $link";