mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-21 23:16:54 +00:00
Change DOMPurify config
This commit is contained in:
1 parent
758a06e58a
commit
47b78510df
1 file changed
+1
-1
@@ -16,7 +16,7 @@ const dedent = require('dedent-tabs').default;
|
||||
const { printCurrentBrew } = require('../../../shared/helpers.js');
|
||||
|
||||
const DOMPurify = require('dompurify');
|
||||
const purifyConfig = { FORCE_BODY: true, SANITIZE_DOM: false };
|
||||
const purifyConfig = { FORCE_BODY: true, SANITIZE_DOM: false, ADD_ATTR: ['target'] };
|
||||
|
||||
const Themes = require('themes/themes.json');
|
||||
|
||||
|
||||
Reference in new issue
Block a user