Opened 6 years ago
Closed 4 years ago
#46001 closed defect (bug) (wontfix)
when an article edited in html starts with <section> tag, content is not rendered
Reported by: | volapuk | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.0.3 |
Component: | Editor | Keywords: | needs-patch |
Focuses: | Cc: |
Description
I use to edit my articles in html, the article is divided in sections and subsections using <section> html5 tag, id an article starts with that tag content is not rendered in web, as a workarround I have to put an space char ( ) and then the content is correctly rendered.
This happens with all versions of wordpress.
Change History (1)
Note: See
TracTickets for help on using
tickets.
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
andwpautop
is what would best suit your needs.