diff options
Diffstat (limited to 'app/Controller/TaskHelper.php')
-rw-r--r-- | app/Controller/TaskHelper.php | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/app/Controller/TaskHelper.php b/app/Controller/TaskHelper.php index 236af33e..7e340a6a 100644 --- a/app/Controller/TaskHelper.php +++ b/app/Controller/TaskHelper.php @@ -11,22 +11,6 @@ namespace Kanboard\Controller; class TaskHelper extends Base { /** - * Render Markdown text and reply with the HTML Code - * - * @access public - */ - public function preview() - { - $payload = $this->request->getJson(); - - if (empty($payload['text'])) { - $this->response->html('<p>'.t('Nothing to preview...').'</p>'); - } - - $this->response->html($this->helper->text->markdown($payload['text'])); - } - - /** * Task autocompletion (Ajax) * * @access public |