From 4b113af0a107d2261ca7b7cbd0d444b7607251e4 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Wed, 5 Sep 2007 11:40:53 +0000 Subject: bugfix --- it_html.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/it_html.class b/it_html.class index edba038..b42f318 100644 --- a/it_html.class +++ b/it_html.class @@ -435,7 +435,7 @@ function sanitize($html) */ function q($string) { - if ($GLOBALS['it_html']->_charset == "iso-8859-1") + if ($GLOBALS['it_html']->p['charset'] == "iso-8859-1") $string = preg_replace('/[\x80-\x9f]/', ' ', strtr($string, array("\x80" => "EUR", "\x82" => "'", "\x84" => "\"", "\x85" => "...", "\x8a" => "S", "\x8c" => "OE", "\x8e" => "Z", "\x91" => "'", "\x92" => "'", "\x93" => "\"", "\x94" => "\"", "\x96" => "-", "\x97" => "-", "\x9a" => "s", "\x9e" => "z"))); return htmlspecialchars($string); -- cgit v1.2.3