Fix DOMPurify paths.

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2025-10-11 00:49:43 +03:00
parent 573d4bf2cb
commit 90899f0928
9 changed files with 12 additions and 12 deletions

View file

@ -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