Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_texteditor.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2019-05-06 14:49:17 +0300
committerGitHub <noreply@github.com>2019-05-06 14:49:17 +0300
commitaea0d26cb435bfe1e2ed14f4fb0bec3c2d86bd38 (patch)
tree61a8b31eabaf333659c0a8c1a0df0f341e74f0ef
parent5693b5efd0034b1d620da84b999914fdddb3ffa0 (diff)
parent5108d6dfc4924202e8e9755c12f8dffda9f85a22 (diff)
Merge pull request #151 from nextcloud/backport/149/stable15v15.0.8RC1v15.0.8
[stable15] Use correct CSS URL, remove default marked settings and change to GFM rendering
-rw-r--r--js/public-share.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/js/public-share.js b/js/public-share.js
index 133ba62..9f29cf4 100644
--- a/js/public-share.js
+++ b/js/public-share.js
@@ -53,11 +53,7 @@ $(document).ready(function(){
.html(DOMPurify.sanitize(
marked(content, {
renderer: renderer,
- gfm: false,
- breaks: false,
- pedantic: false,
- smartLists: true,
- smartypants: false
+ smartLists: true
}),
{
SAFE_FOR_JQUERY: true