removed whitespace

This commit is contained in:
Grzegorz Leoniec 2018-10-29 14:39:37 +01:00
parent 4e153c9ce8
commit 712ac12580

View File

@ -26,7 +26,7 @@ function clean (dirty) {
dirty = sanitizeHtml(dirty, {
allowedTags: ['iframe', 'img', 'p', 'br', 'b', 'i', 'em', 'strong', 'a', 'pre', 'ul', 'li', 'ol', 's', 'strike', 'span', 'blockquote'],
allowedAttributes: {
a: ['href', 'class', 'target', 'data-*' , 'contenteditable'],
a: ['href', 'class', 'target', 'data-*', 'contenteditable'],
span: ['contenteditable', 'class', 'data-*'],
img: ['src'],
iframe: ['src', 'class', 'frameborder', 'allowfullscreen']