Skip to content

Commit 0f01be5

Browse files
authored
Merge pull request #7 from Fot0n/patch-1
Replacing the method name
2 parents f6c776c + 3e2e7ad commit 0f01be5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Markdom.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function setClasses($classes): self
4646
public function toHtml($markdown)
4747
{
4848
$this->markdown = $markdown;
49-
$html = $this->converter->convertToHtml($this->markdown);
49+
$html = $this->converter->convert($this->markdown);
5050

5151
$dom = HtmlPageCrawler::create('<div>' . $html . '</div>');
5252

@@ -150,4 +150,4 @@ public function getAvailableThemes()
150150
return getAvailableStyleSheets();
151151
}
152152

153-
}
153+
}

0 commit comments

Comments
 (0)