public final function output ($outStream=false) {
if ($outStream === false) {
// Output something here...
- foreach ($this->vars as $var=>$value) {
+ foreach ($this->vars as $var => $value) {
$this->output("var=".$var.", value=".$value."");
}
} else {
// Output it to the console
- printf("%s\n", trim(html_entity_decode(strip_tags($outStream))));
+ printf("%s\n", trim(html_entity_decode(strip_tags(stripslashes($outStream)))));
}
}