fix comments in outputfilter.trimwhitespace

This commit is contained in:
boots
2006-06-23 08:41:33 +00:00
parent d39b035391
commit c63f133e69

View File

@@ -49,13 +49,13 @@ function smarty_outputfilter_trimwhitespace($source, &$smarty)
// preceeded by a php close tag.
$source = trim(preg_replace('/((?<!\?>)\n)[\s]+/m', '\1', $source));
// replace script blocks
// replace textarea blocks
smarty_outputfilter_trimwhitespace_replace("@@@SMARTY:TRIM:TEXTAREA@@@",$_script_blocks, $source);
// replace pre blocks
smarty_outputfilter_trimwhitespace_replace("@@@SMARTY:TRIM:PRE@@@",$_pre_blocks, $source);
// replace textarea blocks
// replace script blocks
smarty_outputfilter_trimwhitespace_replace("@@@SMARTY:TRIM:SCRIPT@@@",$_textarea_blocks, $source);
return $source;