[wp-trac] [WordPress Trac] #10606: Curly quotes break if in the end of a link

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 13 16:54:08 UTC 2009


#10606: Curly quotes break if in the end of a link
--------------------------+-------------------------------------------------
 Reporter:  nbachiyski    |       Owner:  nbachiyski             
     Type:  defect (bug)  |      Status:  accepted               
 Priority:  normal        |   Milestone:  2.9                    
Component:  Formatting    |     Version:  2.9                    
 Severity:  normal        |    Keywords:  wptexturize needs-patch
--------------------------+-------------------------------------------------

Comment(by xibe):

 > When the closing quote is right after the closing link tag it converted
 to a opening, instead of a closing quote.

 Only party true: the problem also only appears when the closing quote is
 not followed by a space.

 That is, if in this situation:


 {{{
 Here is "<a href="http://yahoo.com">a test with a link</a>" and a space.
 }}}

 ...wptexturize does the work just fine: Here is « a test with a link » and
 a space. If the closing quote is immediately following by a letter of a
 punctuation sign, then the issue arises: the opening quote is rendered
 instead of the closing one.

 See [http://xavier.borderie.net/wp-trunk/?p=56 my test post] with multiple
 variations.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10606#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list