summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TSafeHtml.php
diff options
context:
space:
mode:
authorxue <>2006-02-01 02:05:08 +0000
committerxue <>2006-02-01 02:05:08 +0000
commit8c659a56ca8dccd8f3a427ad3121c2296c55e9ae (patch)
tree5b3fa111242c52d93193422f89164ef4f5cc1ff3 /framework/Web/UI/WebControls/TSafeHtml.php
parentbbb5ba2761529a2f477589623b2b76b10d6f8803 (diff)
Added a new repeater demo.
Diffstat (limited to 'framework/Web/UI/WebControls/TSafeHtml.php')
-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);
}
}