mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
Use ->toHtml over ->text
This commit is contained in:
@@ -59,7 +59,7 @@ class CommonMarkTestWeak extends CommonMarkTestStrict
|
||||
{
|
||||
$expectedHtml = $this->cleanupHtml($expectedHtml);
|
||||
|
||||
$actualHtml = $this->Parsedown->text($markdown);
|
||||
$actualHtml = $this->Parsedown->toHtml($markdown);
|
||||
$actualHtml = $this->cleanupHtml($actualHtml);
|
||||
|
||||
$this->assertEquals($expectedHtml, $actualHtml);
|
||||
|
||||
Reference in New Issue
Block a user