From e5e6bc94584a7754949a7acaedf205e417e1d556 Mon Sep 17 00:00:00 2001 From: Tobias Feijten Date: Wed, 29 Sep 2021 13:28:29 +0200 Subject: [PATCH] Update markdown-to-html converter missing message The `league/html-to-markdown` library does not support Markdown to HTML conversion (anymore?). The `league/commonmark` library is suitable for that. --- DefaultMarkdown.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DefaultMarkdown.php b/DefaultMarkdown.php index 9059f6c..6650a66 100644 --- a/DefaultMarkdown.php +++ b/DefaultMarkdown.php @@ -28,7 +28,7 @@ public function __construct() } elseif (class_exists(Parsedown::class)) { $this->converter = new ErusevMarkdown(); } else { - throw new \LogicException('You cannot use the "markdown_to_html" filter as no Markdown library is available; try running "composer require league/html-to-markdown".'); + throw new \LogicException('You cannot use the "markdown_to_html" filter as no Markdown library is available; try running "composer require league/commonmark".'); } }