Ticket #36445: formatting.patch
| File formatting.patch, 475 bytes (added by , 10 years ago) |
|---|
-
.php
old new 1800 1800 // WP bug fix for LOVE <3 (and other situations with '<' before a number) 1801 1801 $text = preg_replace('#<([0-9]{1})#', '<$1', $text); 1802 1802 1803 while ( preg_match("/<(\/?[\w: ]*)\s*([^>]*)>/", $text, $regex) ) {1803 while ( preg_match("/<(\/?[\w:-]*)\s*([^>]*)>/", $text, $regex) ) { 1804 1804 $newtext .= $tagqueue; 1805 1805 1806 1806 $i = strpos($text, $regex[0]);