Skip to content

Commit

Permalink
Allow comments in attachments
Browse files Browse the repository at this point in the history
If SAFE_FOR_XML is true all comments are removed from attachments.

See: #1213
  • Loading branch information
djmb committed Dec 17, 2024
1 parent 32b0431 commit 692fa98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/trix/config/dompurify.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export default {
ADD_ATTR: [ "language" ],
SAFE_FOR_XML: false,
RETURN_DOM: true
}

0 comments on commit 692fa98

Please sign in to comment.