We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c561c48 commit a1a2fddCopy full SHA for a1a2fdd
server/hooks/xss.js
@@ -3,7 +3,7 @@ const _ = require('lodash');
3
4
function clean (dirty) {
5
dirty = sanitizeHtml(dirty, {
6
- allowedTags: ['iframe', 'img', 'p', 'br', 'b', 'i', 'em', 'strong', 'a', 'pre', 'ul', 'li', 'ol', 'span'],
+ allowedTags: ['iframe', 'img', 'p', 'br', 'b', 'i', 'em', 'strong', 'a', 'pre', 'ul', 'li', 'ol', 'span', 'blockquote'],
7
allowedAttributes: {
8
a: ['href', 'target', 'data-*'],
9
img: [ 'src' ],
0 commit comments