Skip to content

Commit

Permalink
Merge pull request #69 from yanalshoubaki/deprecated/convertToHtml
Browse files Browse the repository at this point in the history
Update deprecated function 'convertToHtml' to 'convert' function
  • Loading branch information
freekmurze authored Dec 30, 2023
2 parents 474442c + c12d766 commit c47bfee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MarkdownRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,6 @@ private function getMarkdownConverter(): MarkdownConverter

public function convertToHtml(string $markdown): RenderedContentInterface
{
return $this->getMarkdownConverter()->convertToHtml($markdown);
return $this->getMarkdownConverter()->convert($markdown);
}
}

0 comments on commit c47bfee

Please sign in to comment.