1
0
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:
Sebastian
2018-12-11 08:42:02 +01:00
parent e51bcbd208
commit 28b6f93a9c
7 changed files with 128 additions and 91 deletions

View File

@@ -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;
}
}