diff --git a/phpwf/plugins/class.templateparser.php b/phpwf/plugins/class.templateparser.php
index 09854989..7875200a 100644
--- a/phpwf/plugins/class.templateparser.php
+++ b/phpwf/plugins/class.templateparser.php
@@ -365,9 +365,13 @@ class TemplateParser {
echo '
';
}
}
- function SetText($_var, $_value)
- {
- $this->VARARRAY[$_var]= $this->htmlspecialchars($_value);
+ function SetText($_var, $_value, $html = false)
+ {
+ if(!$html)
+ {
+ $_value = $this->htmlspecialchars($_value);
+ }
+ $this->VARARRAY[$_var]= $_value;
}
function AddText($_var,$_value, $variable = false){