summaryrefslogtreecommitdiff
path: root/app/Helper
diff options
context:
space:
mode:
Diffstat (limited to 'app/Helper')
-rw-r--r--app/Helper/Text.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/Helper/Text.php b/app/Helper/Text.php
index d2075fe4..59bfd997 100644
--- a/app/Helper/Text.php
+++ b/app/Helper/Text.php
@@ -3,14 +3,15 @@
namespace Kanboard\Helper;
use Kanboard\Core\Markdown;
+use Kanboard\Core\Base;
/**
- * Text helpers
+ * Text Helpers
*
* @package helper
* @author Frederic Guillot
*/
-class Text extends \Kanboard\Core\Base
+class Text extends Base
{
/**
* Markdown transformation
@@ -21,7 +22,7 @@ class Text extends \Kanboard\Core\Base
*/
public function markdown($text, array $link = array())
{
- $parser = new Markdown($link, $this->helper->url);
+ $parser = new Markdown($this->container, $link);
$parser->setMarkupEscaped(MARKDOWN_ESCAPE_HTML);
return $parser->text($text);
}