Make WordPress Core

Opened 16 years ago

Closed 16 years ago

Last modified 3 months ago

#12835 closed defect (bug) (fixed)

kses is missing HTML 5 elements

Reported by: rmccue's profile rmccue Owned by: rmccue's profile rmccue
Milestone: 3.0 Priority: normal
Severity: normal Version:
Component: Formatting Keywords: has-patch
Focuses: Cc:

Description

kses is missing some of the new elements in HTML 5. The following patch covers those in wpautop(), there are likely ones missing from this.

Attachments (1)

kses.diff (3.3 KB) - added by rmccue 16 years ago.
Add HTML 5 elements to kses, first pass

Download all attachments as: .zip

Change History (5)

@rmccue
16 years ago

Add HTML 5 elements to kses, first pass

#1 @nacin
16 years ago

(In [14406]) Add HTML 5 elements to kses, first pass. props rmccue. see #12835.

#2 @nacin
16 years ago

(In [14406]) Add HTML 5 elements to kses, first pass. props rmccue. see #12835.

#3 @nacin
16 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Let's re-open if we missed anything.

#4 @westonruter
3 months ago

In 61051:

Editor: Allow name attribute on the details element in KSES.

The details element supports the exclusive accordion behavior among multiple details elements by setting a common name attribute. The ability to set the name attribute in the Details block was added in of Gutenberg 20.2. However, when a user without unfiltered_html attempts to save the post, the name attribute gets erroneously stripped out. This prevents that.

See Details block: Exclusive accordions.

Follow-up to [14406], [59775].

Props soean.
See #12835, #62887.
Fixes #64127.

Note: See TracTickets for help on using tickets.