| 1 | @@ -1189,7 +1189,7 @@ |
|---|
| 2 | // Work around bug in strip_tags(): |
|---|
| 3 | $linea = str_replace('<!DOC', '<DOC', $linea); |
|---|
| 4 | $linea = preg_replace( '/[\s\r\n\t]+/', ' ', $linea ); // normalize spaces |
|---|
| 5 | - $linea = preg_replace( "/ <(h1|h2|h3|h4|h5|h6|p|th|td|li|dt|dd|pre|caption|input|textarea|button|body)[^>]*>/", "\n\n", $linea ); |
|---|
| 6 | + $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 ); |
|---|
| 7 | |
|---|
| 8 | preg_match('|<title>([^<]*?)</title>|is', $linea, $matchtitle); |
|---|
| 9 | $title = $matchtitle[1]; |
|---|