From 47d14f71c0d0694eaa8315252157dae07d3811c7 Mon Sep 17 00:00:00 2001 From: Alexander Yakovlev Date: Fri, 19 May 2017 14:48:48 +0700 Subject: [PATCH] replace h4+ with h1 --- bot.php | 1 + 1 file changed, 1 insertion(+) 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";