Added html_output_trim_level config var, fix for #490
Integrated into SmartyParser.php