[wp-trac] [WordPress Trac] #54698: Add 'ruby' tag and its friends to kses

WordPress Trac noreply at wordpress.org
Mon Mar 21 00:29:11 UTC 2022


#54698: Add 'ruby' tag and its friends to kses
------------------------------+-----------------------------
 Reporter:  upsuper           |       Owner:  SergeyBiryukov
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  6.0
Component:  Formatting        |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"52969" 52969]:
 {{{
 #!CommitTicketReference repository="" revision="52969"
 KSES: Add support for `<ruby>` and related elements.

 `<ruby>` element and its friends are used to attach annotation text onto a
 piece of text. This is especially commonly used in Japanese content, but
 it can also been seen in content of other languages like Chinese.

 The set of elements to enable such functionality consists of `<ruby>`,
 `<rt>`, and `<rp>` in the [https://html.spec.whatwg.org/multipage/text-
 level-semantics.html#the-ruby-element HTML Standard], while some browsers
 (like Firefox) additionally support `<rb>` and `<rtc>` for more advanced
 formatting, which are not yet included in the official HTML spec, but can
 be found in a [https://www.w3.org/TR/html-ruby-extensions/ W3C extension].

 Props upsuper, mukesh27, SergeyBiryukov.
 Fixes #54698.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54698#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list