[wp-trac] [WordPress Trac] #10376: White space should be collapsed after tags are stripped in wp_trim_excerpt

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 2 07:22:30 UTC 2010


#10376: White space should be collapsed after tags are stripped in wp_trim_excerpt
---------------------------------------+------------------------------------
 Reporter:  sojweb                     |        Owner:        
     Type:  enhancement                |       Status:  closed
 Priority:  normal                     |    Milestone:  3.0   
Component:  Formatting                 |      Version:  2.8.1 
 Severity:  normal                     |   Resolution:  fixed 
 Keywords:  has-patch wp_trim_excerpt  |  
---------------------------------------+------------------------------------

Comment(by scribu):

 I know it doesn't really matter, but in regex, isn't {{{[\n\r\t ]+}}}
 equivalent to {{{\s+}}} ?

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


More information about the wp-trac mailing list