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

WordPress Trac noreply at wordpress.org
Thu Jun 27 02:04:26 UTC 2019


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

 * owner:  (none) => pento
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"45569" 45569]:
 {{{
 #!CommitTicketReference repository="" revision="45569"
 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.
 Fixes #47489.
 }}}

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


More information about the wp-trac mailing list