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.
This commit is contained in:
Tobias Feijten
2021-09-29 13:31:16 +02:00
committed by Fabien Potencier
parent ce5f3889d8
commit 46d21545a6
+1 -1
View File
@@ -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".');
}
}