diff options
author | Urban Müller | 2007-09-05 11:40:53 +0000 |
---|---|---|
committer | Urban Müller | 2007-09-05 11:40:53 +0000 |
commit | 4b113af0a107d2261ca7b7cbd0d444b7607251e4 (patch) | |
tree | 2ca13352a23ea8dfcfa6641c58ff946056382b0f | |
parent | 96adf3c60fde21e47d234f68c41fc815b88db0f9 (diff) | |
download | itools-4b113af0a107d2261ca7b7cbd0d444b7607251e4.tar.gz itools-4b113af0a107d2261ca7b7cbd0d444b7607251e4.tar.bz2 itools-4b113af0a107d2261ca7b7cbd0d444b7607251e4.zip |
bugfix
-rw-r--r-- | it_html.class | 2 |
1 files changed, 1 insertions, 1 deletions
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); |