Changeset 5223
- Timestamp:
- 04/10/2007 12:49:18 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/formatting.php
r5222 r5223 56 56 $pee = preg_replace('|<br />\s*<br />|', "\n\n", $pee); 57 57 // Space things out a little 58 $allblocks = '(?:table|thead|tfoot|caption|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|select|form|map|area|blockquote|address|math|style| script|object|input|param|p|h[1-6]|hr)';58 $allblocks = '(?:table|thead|tfoot|caption|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|select|form|map|area|blockquote|address|math|style|object|input|param|p|h[1-6]|hr)'; 59 59 $pee = preg_replace('!(<' . $allblocks . '[^>]*>)!', "\n$1", $pee); 60 60 $pee = preg_replace('!(</' . $allblocks . '>)!', "$1\n\n", $pee);
Note: See TracChangeset
for help on using the changeset viewer.