Skip to content

Commit

Permalink
update policy name
Browse files Browse the repository at this point in the history
  • Loading branch information
ropotvs committed Sep 10, 2024
1 parent a862b1f commit 4091322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/quill/src/core/utils/createTrustedHtml.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const createTrustedHtml = (html: string): string => {
if (window.trustedTypes && window.trustedTypes.createPolicy) {
const policy = window.trustedTypes.createPolicy('quill.js', {
const policy = window.trustedTypes.createPolicy('quill', {
createHTML: (val) => val,
});
return policy.createHTML(html) as unknown as string;
Expand Down

0 comments on commit 4091322

Please sign in to comment.