Update HTMLPurifier to version 4.4.0

This commit is contained in:
Tim Almdal
2009-07-14 07:55:30 -07:00
parent 94e33c821f
commit cc05d279ea
5 changed files with 10 additions and 6 deletions

View File

@@ -285,7 +285,7 @@ class HTMLPurifier_Lexer
*/
public function extractBody($html) {
$matches = array();
$result = preg_match('!<body[^>]*>(.+?)</body>!is', $html, $matches);
$result = preg_match('!<body[^>]*>(.*)</body>!is', $html, $matches);
if ($result) {
return $matches[1];
} else {