summaryrefslogtreecommitdiffstats
path: root/core/src/OC
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-09-25 09:35:12 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2019-09-25 10:57:00 +0200
commitd19ed224c1a69dd8c5d9210c0cb754855fcb9b17 (patch)
tree24ae862cee96c580cf082d9d430ab7ae4c2aa411 /core/src/OC
parente26284df9b2b1e039e933ca3026f3e9a971d0e0d (diff)
downloadnextcloud-server-d19ed224c1a69dd8c5d9210c0cb754855fcb9b17.tar.gz
nextcloud-server-d19ed224c1a69dd8c5d9210c0cb754855fcb9b17.zip
Properly import DOMPurify in l10n.js
Fixes a bunch of warning in the console. And fixed the doube escaping. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'core/src/OC')
-rw-r--r--core/src/OC/l10n.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/OC/l10n.js b/core/src/OC/l10n.js
index a4f92b4487a..769d55326ba 100644
--- a/core/src/OC/l10n.js
+++ b/core/src/OC/l10n.js
@@ -10,6 +10,7 @@
import _ from 'underscore'
import $ from 'jquery'
+import DOMPurify from 'dompurify'
import Handlebars from 'handlebars'
import OC from './index'