[wp-trac] [WordPress Trac] #35079: Allow reversed attribute for ordered list HTML element
WordPress Trac
noreply at wordpress.org
Mon Dec 14 19:01:34 UTC 2015
#35079: Allow reversed attribute for ordered list HTML element
--------------------------+-----------------------------
Reporter: lancewillett | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: trunk
Severity: normal | Keywords: has-patch
Focuses: |
--------------------------+-----------------------------
Update `kses` to allow the `reversed` attribute (boolean) on `ol` HTML
elements.
Spec: http://www.w3.org/TR/html-markup/ol.html#ol.attrs.reversed
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>
</ol>
}}}
After publishing a new post with that HTML content, the `reversed`
attribute should persist.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35079>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list