}
$attrs .= ' ' . $key . '="' . htmlentities($val) . '"';
}
- return "<A$attrs>" . htmlentities($this->getContents()) . '</A>';
+ return "<A$attrs>" . $this->getContents() . '</A>';
}
// -X2C
if (is_object($c) and method_exists($c, 'tohtml')) {
$html .= $c->toHtml();
} else {
- $html .= $c;
+ $html .= htmlentities($c);
}
}
return $html;