We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0116611 commit 76624d9Copy full SHA for 76624d9
1 file changed
src/editors/sharedComponents/TinyMceWidget/hooks.ts
@@ -457,7 +457,8 @@ export const editorConfig = ({
457
valid_elements: '*[*]',
458
// FIXME: this is passing 'utf-8', which is not a valid entity_encoding value. It should be 'named' etc.
459
entity_encoding: 'utf-8' as any,
460
- // Protect self-closing <script /> tags from being mangled, to preserve backwards compatibility with content that relied on this behavior
+ // Protect self-closing <script /> tags from being mangled,
461
+ // to preserve backwards compatibility with content that relied on this behavior
462
protect: [/<script[^>]*\/>/g],
463
},
464
};
0 commit comments