diff --git a/_test/nested_include.test.php b/_test/nested_include.test.php index 69d883c..4dfb527 100644 --- a/_test/nested_include.test.php +++ b/_test/nested_include.test.php @@ -44,7 +44,7 @@ private function _validateContent($mainHTML, $secondHTML, $thirdHTML) { } private function _matchHeader($level, $text, $html) { - return preg_match('/]*>]*>'.$text.'/', $html) > 0; + return preg_match('/]*>(]*>)?'.$text.'/', $html) > 0; } private function _createPages() {