includes/wikiengine/parse_mediawiki.php
changeset 1363 f1ed3e9298ae
parent 1306 e00489a30c72
--- a/includes/wikiengine/parse_mediawiki.php	Sat Sep 15 13:16:13 2012 -0400
+++ b/includes/wikiengine/parse_mediawiki.php	Sat Sep 15 13:18:01 2012 -0400
@@ -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();
 	}