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:
-rw-r--r--appinfo/app.php2
-rw-r--r--js/public-share.js6
2 files changed, 2 insertions, 6 deletions
diff --git a/appinfo/app.php b/appinfo/app.php
index 756ac67..ecbadbb 100644
--- a/appinfo/app.php
+++ b/appinfo/app.php
@@ -19,5 +19,5 @@ if (\OC::$server->getUserSession()->isLoggedIn()) {
$eventDispatcher->addListener('OCA\Files_Sharing::loadAdditionalScripts', function () {
OC_Util::addVendorScript('core', 'marked/marked.min');
OCP\Util::addScript('files_texteditor', 'public-share');
- OCP\Util::addStyle('files_texteditor', '../build/public-share');
+ OCP\Util::addStyle('files_texteditor', 'public-share');
});
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