replace h4+ with h1

This commit is contained in:
Alexander Yakovlev 2017-05-19 14:48:48 +07:00
parent 2501e043a6
commit 47d14f71c0

View file

@ -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";