moved strip from smarty core to plugin, made textformat block function return output instead of echo it

This commit is contained in:
mohrt
2003-04-20 18:33:31 +00:00
parent fffa454585
commit 815ac01d84
4 changed files with 3 additions and 27 deletions

View File

@@ -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: */