Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/editors/sharedComponents/TinyMceWidget/hooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@
valid_children: '+body[style]',
valid_elements: '*[*]',
entity_encoding: 'utf-8',
protect: [/\<script[^>]*\/\>/g], // protect self-closing script tags from being mangled

Check failure on line 365 in src/editors/sharedComponents/TinyMceWidget/hooks.js

View workflow job for this annotation

GitHub Actions / tests

Unnecessary escape character: \>

Check failure on line 365 in src/editors/sharedComponents/TinyMceWidget/hooks.js

View workflow job for this annotation

GitHub Actions / tests

Unnecessary escape character: \<
},
};
};
Expand Down
Loading