changeset 1373 | 851b91febb85 |
parent 1363 | f1ed3e9298ae |
--- a/includes/wikiengine/parse_mediawiki.php Mon Nov 19 11:39:25 2012 -0500 +++ b/includes/wikiengine/parse_mediawiki.php Mon Nov 19 11:40:35 2012 -0500 @@ -54,11 +54,15 @@ while ( preg_match($template_regex, $text, $match) ) { $i++; + // we can go up to 5 levels of templates deep if ( $i == 5 ) break; $text = RenderMan::include_templates($text); } + //header('Content-type: text/plain'); + //die($text); + return array(); }