diff options
Diffstat (limited to 'it_html.class')
-rw-r--r-- | it_html.class | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/it_html.class b/it_html.class index 390e8ae..04d6f2b 100644 --- a/it_html.class +++ b/it_html.class @@ -392,7 +392,7 @@ function select($tags, $options, $selected = null) /** * Outputs string as correctly quoted HTML comment */ -function comment($string) +static function comment($string) { return "<!-- " . it::replace(array('--' => "--"), $string) . " -->"; } @@ -453,7 +453,7 @@ static function sanitize($html) /** * Decode all entities to encoding set for it_html */ -function entity_decode($string) +static function entity_decode($string) { $charset = $GLOBALS['it_html']->p['charset']; $string = preg_replace('/&#(8217|65533);/', "'", html_entity_decode($string, ENT_COMPAT, $charset)); |