add removed line back in

This commit is contained in:
mohrt
2007-02-23 16:28:34 +00:00
parent 5a1db056c7
commit 2c90488fd2

View File

@@ -362,6 +362,7 @@ class Smarty_Compiler extends Smarty {
$text_blocks[$i+1] = preg_replace('~^(\r\n|\r|\n)~', '', $text_blocks[$i+1]);
}
// replace legit PHP tags with placeholder
$text_blocks[$i] = str_replace('<?',$tmp_id,$text_blocks[$i]);
$compiled_tags[$i] = str_replace('<?',$tmp_id,$compiled_tags[$i]);
$compiled_content .= $text_blocks[$i].$compiled_tags[$i];