[wp-trac] [WordPress Trac] #47489: Emoji are substituted in preformatted blocks

WordPress Trac noreply at wordpress.org
Mon Aug 19 04:23:37 UTC 2019


#47489: Emoji are substituted in preformatted blocks
-------------------------------------------------+-------------------------
 Reporter:  jikamens                             |       Owner:  pento
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  5.2.3
Component:  Emoji                                |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests needs-      |     Focuses:
  testing fixed-major                            |
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"45837" 45837]:
 {{{
 #!CommitTicketReference repository="" revision="45837"
 Formatting: Don't convert smilies in ignored tags that have attributes.

 Smilies in ignored tags are not supposed to be converted to emoji, but
 this can malfunction if the tag has attributes. For example, the
 Preformatted block with add a `class` to the `<pre>` tag.

 Props pento, jikamens.
 Merges [45569] to the 5.2 branch.
 Fixes #47489.
 }}}

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


More information about the wp-trac mailing list