modified markers in highlight_code() to not introduce unintended highlighting, and to allow code where the first line is a code comment to be styled properly
diff --git a/system/helpers/text_helper.php b/system/helpers/text_helper.php
index 8b67114..2a42cba 100644
--- a/system/helpers/text_helper.php
+++ b/system/helpers/text_helper.php
@@ -267,7 +267,7 @@
 	// or B) whether the PHP tags enclose the entire string, we will add our

 	// own PHP tags around the string along with some markers to make replacement easier later

 	

-	$str = '<?php //tempstart'."\n".$str.'//tempend ?>';

+	$str = '<?php tempstart'."\n".$str.'tempend ?>';

 	

 	// All the magic happens here, baby!

 	$str = highlight_string($str, TRUE);

@@ -281,10 +281,9 @@
 	}

 	

 	// Remove our artificially added PHP and the empty span that results from our temp markers

-	$str = preg_replace("#\<code\>.+?//tempstart\<br />\</span\>#is", "<code>\n", $str);

-	$str = preg_replace("#\<code\>.+?//tempstart\<br />#is", "<code>\n", $str);

-	$str = preg_replace("#//tempend.+#is", "</span>\n</code>", $str);

-	$str = preg_replace("#\<span style=\"color: \#FF8000\"\></span>\n</code>#is", "\n</code>", $str);	

+	$str = preg_replace("#\<code\>.+?tempstart\<br />\</span\>#is", "<code>\n", $str);

+	$str = preg_replace("#\<code\>.+?tempstart\<br />#is", "<code>\n", $str);

+	$str = preg_replace("#tempend.+#is", "</span>\n</code>", $str);	

 	

 	// Replace our markers back to PHP tags.

 	$str = str_replace(array('phptagopen', 'phptagclose', 'asptagopen', 'asptagclose', 'backslashtmp', 'scriptclose'),