adding br to the purifier

This commit is contained in:
okbel
2018-03-05 14:14:22 -03:00
parent 515867bf14
commit 7962df6983
@@ -13,7 +13,7 @@ const config = {
// TODO: move to admin eventually
// Super strict rules to make sure users only submit the tags they are allowed
dompurify: { ALLOWED_TAGS: ['b', 'i', 'blockquote'] },
dompurify: { ALLOWED_TAGS: ['b', 'i', 'blockquote', 'br'] },
// Secure config for jsdom even when DOMPurify creates a document without a browsing context
jsdom: {