Merge pull request #508 from nextcloud/bugfix/502/markdown-newline
Fix markdownit configuration
This commit is contained in:
@@ -37,11 +37,12 @@ app.config(function ($provide, $interpolateProvider, $httpProvider, $urlRouterPr
|
||||
// inline JS is blocked by CSP anyway and filtered out by our markdown renderer as well
|
||||
$compileProvider.aHrefSanitizationWhitelist(/^\s*(https?|javascript):/);
|
||||
|
||||
markdownItConverterProvider.use(markdownitLinkTarget, {
|
||||
markdownItConverterProvider.config({
|
||||
breaks: true,
|
||||
linkify: true,
|
||||
xhtmlOut: true
|
||||
}).use(markdownitCheckbox);
|
||||
});
|
||||
markdownItConverterProvider.use(markdownitLinkTarget).use(markdownitCheckbox);
|
||||
|
||||
$urlRouterProvider.otherwise('/');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user