Index: branches/unlabeled/unlabeled-1.13.4/core/kernel/processors/tag_processor.php =================================================================== diff -u -r7021 -r7487 --- branches/unlabeled/unlabeled-1.13.4/core/kernel/processors/tag_processor.php (.../tag_processor.php) (revision 7021) +++ branches/unlabeled/unlabeled-1.13.4/core/kernel/processors/tag_processor.php (.../tag_processor.php) (revision 7487) @@ -53,7 +53,7 @@ $backup_special = $this->Special; // process all possible flags: begin - $flags = Array('js_escape', 'result_to_var', 'pass_params'); + $flags = Array('js_escape', 'result_to_var', 'pass_params', 'html_escape'); $flag_values = Array(); foreach ($flags as $flag_name) { @@ -81,6 +81,9 @@ $ret = str_replace(Array("\r", "\n"), Array('\r', '\n'), $ret); $ret = str_replace('', "", $ret); } + if ($flag_values['html_escape']) { + $ret = htmlspecialchars($ret); + } if ($flag_values['result_to_var']) { $this->Application->Parser->SetParam($flag_values['result_to_var'], $ret); $ret = '';