[wp-trac] [WordPress Trac] #42971: Page editor (TinyMCE) strips preformatted code entered inside <pre><code> tags.
WordPress Trac
noreply at wordpress.org
Tue Jan 16 12:55:15 UTC 2018
#42971: Page editor (TinyMCE) strips preformatted code entered inside <pre><code>
tags.
--------------------------+-------------------------
Reporter: Sakis | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: TinyMCE | Version: 4.9.1
Severity: normal | Resolution: worksforme
Keywords: | Focuses:
--------------------------+-------------------------
Changes (by azaozz):
* status: new => closed
* resolution: => worksforme
* milestone: Awaiting Review =>
Comment:
Hi @Sakis, don't think this is a bug. In the Text editor you are in HTML
context, i.e. you can type HTML tags, attributes, etc. Generally the `<`,
`>`, and `&` characters should be encoded to HTML entities.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42971#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list