mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-02 21:31:48 +01:00
moved strip from smarty core to plugin, made textformat block function return output instead of echo it
This commit is contained in:
@@ -70,9 +70,8 @@ function smarty_block_textformat($params, $content, &$this)
|
||||
if($assign != null) {
|
||||
$this->assign($assign,$output);
|
||||
} else {
|
||||
echo $output;
|
||||
return $output;
|
||||
}
|
||||
//echo $content;
|
||||
}
|
||||
|
||||
/* vim: set expandtab: */
|
||||
|
||||
Reference in New Issue
Block a user