From 5c2925aeedd2a3c396111733018d7f911a9eb984 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Thu, 28 Jun 2018 15:34:36 +0200 Subject: [PATCH] Fix markdownit configuration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- js/app/Config.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/js/app/Config.js b/js/app/Config.js index bcc1391c8..51f8f787e 100644 --- a/js/app/Config.js +++ b/js/app/Config.js @@ -34,11 +34,12 @@ app.config(function ($provide, $interpolateProvider, $httpProvider, $urlRouterPr $compileProvider.debugInfoEnabled(true); - markdownItConverterProvider.use(markdownitLinkTarget, { + markdownItConverterProvider.config({ breaks: true, linkify: true, xhtmlOut: true - }).use(markdownitCheckbox); + }); + markdownItConverterProvider.use(markdownitLinkTarget).use(markdownitCheckbox); $urlRouterProvider.otherwise('/');