From 46d21545a644f27f0d5e5b2b949fc94516d53743 Mon Sep 17 00:00:00 2001 From: Tobias Feijten Date: Wed, 29 Sep 2021 13:31:16 +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. --- extra/markdown-extra/DefaultMarkdown.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extra/markdown-extra/DefaultMarkdown.php b/extra/markdown-extra/DefaultMarkdown.php index 9059f6c7f..6650a661a 100644 --- a/extra/markdown-extra/DefaultMarkdown.php +++ b/extra/markdown-extra/DefaultMarkdown.php @@ -28,7 +28,7 @@ class DefaultMarkdown implements MarkdownInterface } 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".'); } }