diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2019-01-10 14:34:35 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-01-10 14:34:35 +0100 |
commit | cf8d438ff004f4b820f919754d695a40aff92054 (patch) | |
tree | 16d169e7fb28b2884c4c5e1563ce5e362c82ffa8 /settings/src | |
parent | 45fe8014a96a115c756ea6099619045df4e25ddb (diff) | |
download | nextcloud-server-cf8d438ff004f4b820f919754d695a40aff92054.tar.gz nextcloud-server-cf8d438ff004f4b820f919754d695a40aff92054.zip |
Bundle dompurify in settings as well
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'settings/src')
-rw-r--r-- | settings/src/components/appDetails.vue | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/settings/src/components/appDetails.vue b/settings/src/components/appDetails.vue index 4f6471dfd14..804ed8e441e 100644 --- a/settings/src/components/appDetails.vue +++ b/settings/src/components/appDetails.vue @@ -97,6 +97,7 @@ <script> import Multiselect from 'vue-multiselect'; import marked from 'marked'; +import dompurify from 'dompurify' import AppScore from './appList/appScore'; import AppManagement from './appManagement'; @@ -194,7 +195,7 @@ export default { renderer.blockquote = function(quote) { return quote; }; - return DOMPurify.sanitize( + return dompurify.sanitize( marked(this.app.description.trim(), { renderer: renderer, gfm: false, |