diff --git a/libraries/mako/Mako.php b/libraries/mako/Mako.php
index <HASH>..<HASH> 100644
--- a/libraries/mako/Mako.php
+++ b/libraries/mako/Mako.php
@@ -346,10 +346,10 @@ namespace mako
 
 			$highlight = function($string)
 			{
-				$search  = array("\n", '<code>', '</code>', '<span style="color: #0000BB">&lt;?php&nbsp;');
-				$replace = array('', '', '', '<span style="color: #0000BB">');
+				$search  = array("\n", '<code>', '</code>', '<span style="color: #0000BB">&lt;?php&nbsp;', '#$@r4!/*');
+				$replace = array('', '', '', '<span style="color: #0000BB">', '/*');
 
-				return str_replace($search, $replace, highlight_string('<?php ' . $string, true));	
+				return str_replace($search, $replace, highlight_string('<?php ' . str_replace('/*', '#$@r4!/*', $string), true));	
 			};
 
 			$handle      = fopen($file, 'r');
Fix for compile errors when highlighting the first line of a multi line comment