[wp-trac] [WordPress Trac] #47724: International closing quotation marks are broken if surrounded by HTML Tags and punctuation marks

WordPress Trac noreply at wordpress.org
Wed Jul 17 16:22:45 UTC 2019


#47724: International closing quotation marks are broken if surrounded by HTML Tags
and punctuation marks
--------------------------+-----------------------------
 Reporter:  apermo        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  5.2.2
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 {{{
 <!-- wp:paragraph -->
 <p>lorem ipsum "<strong>text in correct quotation marks</strong>"
 dolor.</p>
 <!-- /wp:paragraph -->

 <!-- wp:paragraph -->
 <p>lorem ipsum "<strong>text in broken quotation marks</strong>".</p>
 <!-- /wp:paragraph -->

 <!-- wp:paragraph -->
 <p>lorem ipsum "text in correct quotation marks".</p>
 <!-- /wp:paragraph -->
 }}}

 Screenshot made using the snippet in WP 5.2.2 with latest twentynineteen,
 locale set to de_de.

 I already discussed with @swisspidy and @tobifjellner on slack about it,
 and most likely it's a bug, the function replacing the normal " with the
 local opening or closing quotation marks has an issue as soon as html tags
 are next to them.

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


More information about the wp-trac mailing list