[wp-trac] [WordPress Trac] #46001: when an article edited in html starts with <section> tag, content is not rendered
WordPress Trac
noreply at wordpress.org
Thu Sep 24 02:44:16 UTC 2020
#46001: when an article edited in html starts with <section> tag, content is not
rendered
--------------------------+----------------------
Reporter: volapuk | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Editor | Version: 5.0.3
Severity: normal | Resolution: wontfix
Keywords: needs-patch | Focuses:
--------------------------+----------------------
Changes (by noisysocks):
* status: new => closed
* resolution: => wontfix
* milestone: Awaiting Review =>
Comment:
The code editor is only designed for editing basic post markup (`<p>`,
`<strong>`, `<a>`, etc.) in a way that's conducive to writing a post.
That's why, for example, `wpautop` replaces double new lines with
paragraph tags by default.
You might find that disabling `wp_kses` and `wpautop` is what would best
suit your needs.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46001#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list