changeset 1031 | 8a4b75e73137 |
parent 1027 | 98c052fc3337 |
child 1044 | ad6a22377507 |
--- a/includes/wikiengine/parse_mediawiki.php Thu Jul 02 08:58:54 2009 -0400 +++ b/includes/wikiengine/parse_mediawiki.php Thu Jul 02 09:00:52 2009 -0400 @@ -59,7 +59,7 @@ public function heading(&$text) { - if ( !preg_match_all('/^(={1,6}) *(.+?) *\\1$/m', $text, $results) ) + if ( !preg_match_all('/^(={1,6}) *(.+?) *\\1 *$/m', $text, $results) ) return array(); $headings = array();