mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-06 19:34:27 +02:00
- fix trimwhitespace outputfilter parameter
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
10/22/2009
|
||||
- fix trimwhitespace outputfilter parameter
|
||||
|
||||
10/21/2009
|
||||
- added {$foo++}{$foo--} syntax
|
||||
- buxfix changed PHP "if (..):" to "if (..){" because of possible bad code when concenating PHP tags
|
||||
|
@@ -26,7 +26,7 @@
|
||||
* @param object &$smarty Smarty object
|
||||
* @return string filtered output
|
||||
*/
|
||||
function smarty_outputfilter_trimwhitespace($source, &$smarty)
|
||||
function smarty_outputfilter_trimwhitespace($source, $smarty)
|
||||
{
|
||||
// Pull out the script blocks
|
||||
preg_match_all("!<script[^>]*?>.*?</script>!is", $source, $match);
|
||||
|
Reference in New Issue
Block a user