Ticket #2047: imhungry.diff
| File imhungry.diff, 707 bytes (added by skeltoac, 6 years ago) |
|---|
-
wp-includes/functions-formatting.php
995 995 996 996 function wp_richedit_pre($text) { 997 997 // Filtering a blank results in an annoying <br />\n 998 if ( empty($text) ) return '<p> </p>';998 if ( empty($text) ) return apply_filters('richedit_pre', ''); 999 999 1000 1000 $output = $text; 1001 1001 $output = convert_chars($output); … … 1005 1005 $output = str_replace('<', '&lt;', $output); 1006 1006 $output = str_replace('>', '&gt;', $output); 1007 1007 1008 return $output;1008 return apply_filters('richedit_pre', $output); 1009 1009 } 1010 1010 1011 1011 ?>
