[wp-trac] [WordPress Trac] #9306: Additional smart quote suggestion

WordPress Trac wp-trac at lists.automattic.com
Mon Mar 9 05:09:37 GMT 2009


#9306: Additional smart quote suggestion
-------------------------+--------------------------------------------------
 Reporter:  cloak42      |       Owner:  anonymous                           
     Type:  enhancement  |      Status:  new                                 
 Priority:  low          |   Milestone:  Unassigned                          
Component:  General      |     Version:                                      
 Severity:  trivial      |    Keywords:  smart quote replacement preg_replace
-------------------------+--------------------------------------------------
 If a user writes a post that contains a quotation inside parentheses, the
 open quote mark is not used. I suggest that when a quotation mark (double
 or single) is used after an open parenthesis, it should be a left-quote “
 instead of a right quote ”. In order to be as complete as possible, it
 would probably be best to ensure that this is only done in the event that
 white space is used prior to the open parenthesis so as to prevent it
 printing the wrong one if, say, a sad-face smiley is used inside a
 quotation, like so:

 '''''She told me, "Aw, you make me a sad panda now. :("'''''

 If it's done so that it will only open the quote correctly after white
 space \s or a carriage return, I think that will cover the vast majority,
 if not all, of the situations where it would need to be used.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9306>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list