Ticket #9305: formatting.php.diff
File formatting.php.diff, 493 bytes (added by , 16 years ago) |
---|
-
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 ($pee === '') return $pee; 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