From b26ef07752c37228f84f60a6b7c1635992fc4a2a Mon Sep 17 00:00:00 2001 From: Michael Hamann Date: Fri, 21 Sep 2012 00:18:07 +0200 Subject: [PATCH] Fix tests for changed HTML output in DokuWiki --- _test/nested_include.test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {