[wp-trac] [WordPress Trac] #47161: Do not break strings to avoid HTML tags in them

WordPress Trac noreply at wordpress.org
Fri May 17 06:45:55 UTC 2019


#47161: Do not break strings to avoid HTML tags in them
-----------------------------------+-----------------------------
 Reporter:  dimadin                |       Owner:  SergeyBiryukov
     Type:  defect (bug)           |      Status:  reopened
 Priority:  normal                 |   Milestone:  5.2.1
Component:  I18N                   |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch i18n-change  |     Focuses:
-----------------------------------+-----------------------------

Comment (by tobifjellner):

 The change in #6 is almost correct. But it still will add a space between
 "the team handbook" and the following stop.
 You need to put the space inside the span "screen-reader-text", i.e. just
 before the %s.

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


More information about the wp-trac mailing list