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

WordPress Trac noreply at wordpress.org
Tue Dec 28 06:23:22 UTC 2021


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

Comment (by mukesh27):

 Hi there!

 Thanks for the ticket and patch.

 I updated the patch [attachment:"54698.patch"] with parent-child elements
 hierarchy because `<ruby>` is the main parent for all the other elements.

 For example:

 {{{
 <ruby><rb>base<rt>annotation</ruby>
 }}}

 {{{
 <ruby>
   <rb>♥</rb><rtc><rt>Heart</rt></rtc><rtc lang=fr><rt>Cœur</rt></rtc>
   <rb>☘</rb><rtc><rt>Shamrock</rt></rtc><rtc lang=fr><rt>Trèfle</rt></rtc>
   <rb>✶</rb><rtc><rt>Star</rt></rtc><rtc lang=fr><rt>Étoile</rt></rtc>
 </ruby>
 }}}

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


More information about the wp-trac mailing list