Ticket #3052: 3052.diff
| File 3052.diff, 704 bytes (added by Denis-de-Bernardy, 4 years ago) |
|---|
-
xmlrpc.php
3282 3282 // Work around bug in strip_tags(): 3283 3283 $linea = str_replace('<!DOC', '<DOC', $linea); 3284 3284 $linea = preg_replace( '/[\s\r\n\t]+/', ' ', $linea ); // normalize spaces 3285 $linea = preg_replace( "/ <(h1|h2|h3|h4|h5|h6|p|th|td|li|dt|dd|pre|caption|input|textarea|button|body )[^>]*>/", "\n\n", $linea );3285 $linea = preg_replace( "/ <(h1|h2|h3|h4|h5|h6|p|th|td|li|dt|dd|pre|caption|input|textarea|button|body|div)[^>]*>/", "\n\n", $linea ); 3286 3286 3287 3287 preg_match('|<title>([^<]*?)</title>|is', $linea, $matchtitle); 3288 3288 $title = $matchtitle[1];
