Decrypt: user content

This commit is contained in:
M66B 2022-10-19 18:27:11 +02:00
parent 13b914fd17
commit cc4493a802
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@
throw new Error('Password required');
const dirty = await _decrypt(form.password.value);
const clean = DOMPurify.sanitize(dirty, { USE_PROFILES: { html: true } });
const clean = DOMPurify.sanitize(dirty, { USE_PROFILES: { html: true }, SANITIZE_NAMED_PROPS: true });
form.password.value = '';
message.innerHTML = clean;