diff options
Diffstat (limited to 'framework/Web/UI/WebControls/TSafeHtml.php')
-rw-r--r-- | framework/Web/UI/WebControls/TSafeHtml.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TSafeHtml.php b/framework/Web/UI/WebControls/TSafeHtml.php index f605608a..5015a5ac 100644 --- a/framework/Web/UI/WebControls/TSafeHtml.php +++ b/framework/Web/UI/WebControls/TSafeHtml.php @@ -26,7 +26,7 @@ class TSafeHtml extends TControl * malicious javascript code from the body content
* @param THtmlWriter writer
*/
- protected function renderContents($writer)
+ public function renderContents($writer)
{
$textWriter=new TTextWriter;
parent::renderContents(new THtmlWriter($textWriter));
|