Skip to content

Commit 3ad0f58

Browse files
committed
Remove the escape-html global
Already announced for 19 that it would go. So now it realy does go. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
1 parent efd025c commit 3ad0f58

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

apps/comments/src/commentstabview.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
*
1010
*/
1111

12-
/* global Handlebars, escapeHTML */
12+
/* global Handlebars */
13+
14+
import escapeHTML from 'escape-html'
1315

1416
(function(OC, OCA) {
1517

core/src/globals.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ import 'strengthify/strengthify.css'
5353
import OC from './OC/index'
5454
import OCP from './OCP/index'
5555
import OCA from './OCA/index'
56-
import escapeHTML from 'escape-html'
5756
import { getToken as getRequestToken } from './OC/requesttoken'
5857

5958
const warnIfNotTesting = function() {
@@ -126,7 +125,6 @@ setDeprecatedProp('oc_webroot', () => OC.webroot, 'use OC.getRootPath() instead,
126125
setDeprecatedProp('OCDialogs', () => OC.dialogs, 'use OC.dialogs instead, this will be removed in Nextcloud 20')
127126
window['OCP'] = OCP
128127
window['OCA'] = OCA
129-
window['escapeHTML'] = deprecate(escapeHTML, 'escapeHTML', 19)
130128
$.fn.select2 = deprecate($.fn.select2, 'select2', 19)
131129

132130
/**

0 commit comments

Comments
 (0)