[wp-trac] [WordPress Trac] #34105: kses strips tags with hyphens in the name
WordPress Trac
noreply at wordpress.org
Fri Sep 2 04:16:02 UTC 2016
#34105: kses strips tags with hyphens in the name
--------------------------+---------------------
Reporter: batmoo | Owner: jorbin
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.7
Component: Formatting | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
--------------------------+---------------------
Changes (by jorbin):
* owner: => jorbin
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"38511"]:
{{{
#!CommitTicketReference repository="" revision="38511"
Formatting: Allow KSES custom elements with hyphens
The W3C Custom Elements spec (http://www.w3.org/TR/custom-
elements/#concepts) allows you to use your own custom DOM elements/tags.
One of the main requirements is that the tag name "must contain a U+002D
HYPHEN-MINUS character". This adjusts KSES to allow it.
Fixes #34105.
Props batmoo.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34105#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list