[wp-trac] [WordPress Trac] #30322: word-wrap space and &nbsp%

WordPress Trac noreply at wordpress.org
Thu Nov 13 16:40:56 UTC 2014


#30322: word-wrap space and &nbsp%
-------------------------------+------------------------------
 Reporter:  fjalestad          |       Owner:
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Text Changes       |     Version:  4.0
 Severity:  normal             |  Resolution:  worksforme
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by fjalestad):

 * status:  new => closed
 * resolution:   => worksforme


Comment:

 There is a short-term fix I'e applied for now to solve my issue. Not the
 prettiest one but it works.


 {{{
 add_filter( 'wp_insert_post_data', 'rm_wp_insert_post_data', '99', 2 );
 function rm_wp_insert_post_data ( $data , $postarr ) {
   return str_replace("\xc2\xa0", " ", $data);
 }
 }}}

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


More information about the wp-trac mailing list