Skip to content

Commit

Permalink
Merge pull request #7 from Fot0n/patch-1
Browse files Browse the repository at this point in the history
Replacing the method name
  • Loading branch information
sinnbeck authored Mar 13, 2024
2 parents f6c776c + 3e2e7ad commit 0f01be5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Markdom.php
Original file line number Diff line number Diff line change
Expand Up @@ -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('<div>' . $html . '</div>');

Expand Down Expand Up @@ -150,4 +150,4 @@ public function getAvailableThemes()
return getAvailableStyleSheets();
}

}
}

0 comments on commit 0f01be5

Please sign in to comment.