Skip to content

Commit 51bb968

Browse files
committed
Remove domputify (client-side)
1 parent 5bd91b4 commit 51bb968

File tree

3 files changed

+0
-14
lines changed

3 files changed

+0
-14
lines changed

package-lock.json

Lines changed: 0 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@
5454
"*.js": "eslint --fix"
5555
},
5656
"dependencies": {
57-
"dompurify": "^2.2.6",
5857
"marked": "^1.2.4",
5958
"medium-zoom": "^1.0.6",
6059
"opencollective-postinstall": "^2.0.2",

src/core/render/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/* eslint-disable no-unused-vars */
22
import tinydate from 'tinydate';
3-
import DOMPurify from 'dompurify';
43
import * as dom from '../util/dom';
54
import cssVars from '../util/polyfill/css-vars';
65
import { callHook } from '../init/lifecycle';
@@ -330,7 +329,6 @@ export function renderMixin(proto) {
330329
},
331330
tokens => {
332331
html = this.compiler.compile(tokens);
333-
html = this.isRemoteUrl ? DOMPurify.sanitize(html) : html;
334332
callback();
335333
next();
336334
}

0 commit comments

Comments
 (0)