mirror of
https://github.com/wekan/wekan.git
synced 2025-12-22 02:10:12 +01:00
Fix DOMPurify paths.
Thanks to xet7 !
This commit is contained in:
parent
573d4bf2cb
commit
90899f0928
9 changed files with 12 additions and 12 deletions
|
|
@ -325,7 +325,7 @@ BlazeComponent.extendComponent({
|
|||
}).register('editor');
|
||||
|
||||
import DOMPurify from 'dompurify';
|
||||
import { sanitizeHTML } from '/client/lib/secureDOMPurify';
|
||||
import { sanitizeHTML } from '../lib/secureDOMPurify';
|
||||
|
||||
// Additional safeAttrValue function to allow for other specific protocols
|
||||
// See https://github.com/leizongmin/js-xss/issues/52#issuecomment-241354114
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue