Ticket #6128: 6128.diff
| File 6128.diff, 615 bytes (added by Denis-de-Bernardy, 4 years ago) |
|---|
-
Users/denis/Sites/sem-pro/wp-includes/formatting.php
114 114 * @return string Text which has been converted into correct paragraph tags. 115 115 */ 116 116 function wpautop($pee, $br = 1) { 117 if ( trim($pee) === '' ) return ''; 117 118 $pee = $pee . "\n"; // just to make things a little easier, pad the end 118 119 $pee = preg_replace('|<br />\s*<br />|', "\n\n", $pee); 119 120 // Space things out a little