Changeset 19575 for trunk/include/smarty/libs/Smarty_Compiler.class.php
- Timestamp:
- Dec 26, 2012, 12:35:40 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/smarty/libs/Smarty_Compiler.class.php
r3584 r19575 333 333 for ($j = $i + 1; $j < $for_max; $j++) { 334 334 /* remove leading and trailing whitespaces of each line */ 335 $text_blocks[$j] = preg_replace('![\t ]*[\r\n]+[\t ]*!', ' ', $text_blocks[$j]);335 $text_blocks[$j] = preg_replace('![\t ]*[\r\n]+[\t ]*!', ' ', $text_blocks[$j]); 336 336 if ($compiled_tags[$j] == '{/strip}') { 337 337 /* remove trailing whitespaces from the last text_block */
Note: See TracChangeset
for help on using the changeset viewer.