diff --git a/src/Markdom.php b/src/Markdom.php index 75f4b09..4a66314 100644 --- a/src/Markdom.php +++ b/src/Markdom.php @@ -46,7 +46,7 @@ public function setClasses($classes): self public function toHtml($markdown) { $this->markdown = $markdown; - $html = $this->converter->convertToHtml($this->markdown); + $html = $this->converter->convert($this->markdown); $dom = HtmlPageCrawler::create('
' . $html . '
'); @@ -150,4 +150,4 @@ public function getAvailableThemes() return getAvailableStyleSheets(); } -} \ No newline at end of file +}