cvs: smarty /libs/plugins outputfilter.trimwhitespace.php
[email protected] ("boots") Fri, 23 Jun 2006 08:41:33 -0000
| Newsgroups | php.smarty.cvs |
|---|---|
| Message-ID | <cvsboots1151052093@cvsserver> |
boots Fri Jun 23 08:41:33 2006 UTC
Modified files:
/smarty/libs/plugins outputfilter.trimwhitespace.php
Log:
fix comments in outputfilter.trimwhitespace
http://cvs.php.net/viewvc.cgi/smarty/libs/plugins/outputfilter.trimwhitespace.php?r1=1.10&r2=1.11&diff_format=u
Index: smarty/libs/plugins/outputfilter.trimwhitespace.php
diff -u smarty/libs/plugins/outputfilter.trimwhitespace.php:1.10 smarty/libs/plugins/outputfilter.trimwhitespace.php:1.11
--- smarty/libs/plugins/outputfilter.trimwhitespace.php:1.10 Fri Jun 23 08:34:31 2006
+++ smarty/libs/plugins/outputfilter.trimwhitespace.php Fri Jun 23 08:41:33 2006
@@ -49,13 +49,13 @@
// 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;