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

WordPress Trac noreply at wordpress.org
Mon Dec 27 13:34:55 UTC 2021

#54698: Add 'ruby' tag and its friends to kses
 Reporter:  upsuper      |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Formatting   |    Version:
 Severity:  normal       |   Keywords:
  Focuses:               |
 `<ruby>` element and its friends are used to attach annotation text onto a
 piece of text, like [[Image(https://www.w3.org/TR/css-ruby-1/images/ruby-

 It is especially commonly used in Japanese content, but it can also been
 seen on 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) also supports additional ones `<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

 These elements are purely presentational, and don't have any special
 functionality, and thus should not have any security implications for
 being added to `$allowedposttags`. Actually it seems that wordpress.com
 already supports them, while a local build doesn't.

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

More information about the wp-trac mailing list