How to prevent WordPress CodeEditor adding fake closing tags that corrupt the page?

How to prevent WordPress CodeEditor adding fake

closing tags that corrupt the page?

error code: 523