Make WordPress Core

Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#35079 closed defect (bug) (fixed)

Allow reversed attribute for ordered list HTML element

Reported by: lancewillett's profile lancewillett Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 4.5 Priority: normal
Severity: normal Version:
Component: Editor Keywords: has-patch has-unit-tests
Focuses: Cc:


Update kses to allow the reversed attribute (boolean) on ol HTML elements.


To test in the wp-admin editor, use markup like this:

<ol reversed="reversed">
	<li>Item 1</li>
	<li>Item 2</li>
	<li>Item 3</li>

After publishing a new post with that HTML content, the reversed attribute should persist.

Attachments (1)

35079.patch (906 bytes) - added by lancewillett 9 years ago.

Download all attachments as: .zip

Change History (6)

9 years ago

#1 @swissspidy
9 years ago

  • Keywords has-unit-tests added

#2 @SergeyBiryukov
9 years ago

  • Milestone changed from Awaiting Review to 4.5

#3 @SergeyBiryukov
8 years ago

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

In 35960:

KSES: Allow the reversed attribute for <ol>.

Props lancewillett.
Fixes #35079.

#4 @johnbillion
8 years ago

Purely as an FYI, the reversed attribute isn't supported in any version of IE, for anything thinking of using it.

#5 @johnbillion
8 years ago

  • Version trunk deleted
Note: See TracTickets for help on using tickets.