mirror of
https://github.com/typemill/typemill.git
synced 2025-08-22 13:42:49 +02:00
version 1.2.9
This commit is contained in:
@@ -24,12 +24,12 @@ class OnOriginalLoaded extends Event
|
||||
return $this->data;
|
||||
}
|
||||
|
||||
public function getHTML()
|
||||
public function getHTML($urlrel)
|
||||
{
|
||||
$parsedown = new ParsedownExtension();
|
||||
$contentArray = $parsedown->text($this->data);
|
||||
$contentHTML = $parsedown->markup($contentArray);
|
||||
|
||||
$contentHTML = $parsedown->markup($contentArray, $urlrel);
|
||||
|
||||
return $contentHTML;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user