mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-14 22:19:55 -04:00
Update HTMLPurifier to version 4.4.0
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user