diff --git a/plugins/talk-plugin-rich-text/server/config.js b/plugins/talk-plugin-rich-text/server/config.js index 42c6bd756..8d0fc87d3 100644 --- a/plugins/talk-plugin-rich-text/server/config.js +++ b/plugins/talk-plugin-rich-text/server/config.js @@ -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: {