Skip to content

Commit

Permalink
re-init
Browse files Browse the repository at this point in the history
  • Loading branch information
Sylvain committed Mar 1, 2024
1 parent ae9d272 commit fd20412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion renderhtml/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
if (!content) {
el.style.display = 'none';
} else {
// el.innerHTML = DOMPurify.sanitize(content, {ADD_TAGS, ADD_ATTR});
el.innerHTML = DOMPurify.sanitize(content, {ADD_TAGS, ADD_ATTR});
// If we are allowing scripts, let them execute, which doesn't
// normally happen when adding script elements using innerHTML.
if (ADD_TAGS?.includes("script")) {
Expand Down

0 comments on commit fd20412

Please sign in to comment.