diff options
Diffstat (limited to 'settings/js/apps.js')
-rw-r--r-- | settings/js/apps.js | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js index 65a05116557..db1bafaf8d0 100644 --- a/settings/js/apps.js +++ b/settings/js/apps.js @@ -189,7 +189,22 @@ OC.Settings.Apps = OC.Settings.Apps || { } // Parse markdown in app description - app.description = DOMPurify.sanitize(marked(app.description.trim(), OC.Settings.Apps.markedOptions)); + app.description = DOMPurify.sanitize( + marked(app.description.trim(), OC.Settings.Apps.markedOptions), + { + SAFE_FOR_JQUERY: true, + ALLOWED_TAGS: [ + 'strong', + 'p', + 'a', + 'ul', + 'li', + 'em', + 's', + 'blockquote' + ] + } + ); var html = template(app); if (selector) { |