summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/UI/WebControls')
-rw-r--r--framework/Web/UI/WebControls/TSafeHtml.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/framework/Web/UI/WebControls/TSafeHtml.php b/framework/Web/UI/WebControls/TSafeHtml.php
index 0dae3b75..83e72167 100644
--- a/framework/Web/UI/WebControls/TSafeHtml.php
+++ b/framework/Web/UI/WebControls/TSafeHtml.php
@@ -1,7 +1,5 @@
<?php
-Prado::using('System.3rdParty.SafeHtml.TSafeHtmlParser');
-
/**
* ${classname}
*
@@ -33,7 +31,7 @@ class TSafeHtml extends TControl
*/
protected function parseSafeHtml($text)
{
- $renderer = new TSafeHtmlParser();
+ $renderer = Prado::createComponent('System.3rdParty.SafeHtml.TSafeHtmlParser');
return $renderer->parse($content);
}
}