diff options
Diffstat (limited to 'app/Helper')
-rw-r--r-- | app/Helper/TextHelper.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/Helper/TextHelper.php b/app/Helper/TextHelper.php index e5aefdcf..97b12c49 100644 --- a/app/Helper/TextHelper.php +++ b/app/Helper/TextHelper.php @@ -27,13 +27,13 @@ class TextHelper extends Base /** * Markdown transformation * - * @param string $text Markdown content - * @param array $link Link parameters for replacement + * @param string $text + * @param boolean $isPublicLink * @return string */ - public function markdown($text, array $link = array()) + public function markdown($text, $isPublicLink = false) { - $parser = new Markdown($this->container, $link); + $parser = new Markdown($this->container, $isPublicLink); $parser->setMarkupEscaped(MARKDOWN_ESCAPE_HTML); return $parser->text($text); } |