Skip to content

Commit 76624d9

Browse files
refactor: linting error fixed
1 parent 0116611 commit 76624d9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • src/editors/sharedComponents/TinyMceWidget

src/editors/sharedComponents/TinyMceWidget/hooks.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,8 @@ export const editorConfig = ({
457457
valid_elements: '*[*]',
458458
// FIXME: this is passing 'utf-8', which is not a valid entity_encoding value. It should be 'named' etc.
459459
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
460+
// Protect self-closing <script /> tags from being mangled,
461+
// to preserve backwards compatibility with content that relied on this behavior
461462
protect: [/<script[^>]*\/>/g],
462463
},
463464
};

0 commit comments

Comments
 (0)