mirror of
https://gitlab.com/ifiction/ifhub-telegram.git
synced 2024-10-22 22:15:31 +00:00
replace h4+ with h1
This commit is contained in:
parent
2501e043a6
commit
47d14f71c0
1 changed files with 1 additions and 0 deletions
1
bot.php
1
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";
|
||||
|
||||
|
|
Loading…
Reference in a new issue