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:35 +0300
committerGitHub <noreply@github.com>2019-05-06 14:49:35 +0300
commitdb76ab48c4ce23d727db4c2cc3ca13ebadef6d16 (patch)
tree30787e4caad8c6d3e8a4f1f8f2361897f341008f /js/public-share.js
parent5ea661ad0b2aa3c95b1a56a6e63aa4a775cc3640 (diff)
parent4a1999f813a4ec91b3d6ec14a22b17e157bae054 (diff)
Merge pull request #150 from nextcloud/backport/149/stable16v16.0.1RC1
[stable16] Use correct CSS URL, remove default marked settings and change to GFM rendering
Diffstat (limited to 'js/public-share.js')
-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