修訂 | ba3b814ad7aec66d83e81d3f57a836510c4e73b7 (tree) |
---|---|
時間 | 2017-10-21 11:12:26 |
作者 | umorigu <umorigu@gmai...> |
Commiter | umorigu |
BugTrack/2443 showrss plugin: Enable to show Japanese RSS feeds
@@ -272,7 +272,7 @@ class ShowRSS_XML | ||
272 | 272 | // Unescape already-escaped chars (<, >, &, ...) in RSS body before htmlsc() |
273 | 273 | $str = strtr($str, array_flip(get_html_translation_table(ENT_COMPAT))); |
274 | 274 | // Escape |
275 | - $str = htmlsc($str); | |
275 | + $str = htmlsc($str, ENT_COMPAT, $this->encoding); | |
276 | 276 | // Encoding conversion |
277 | 277 | $str = mb_convert_encoding($str, SOURCE_ENCODING, $this->encoding); |
278 | 278 | return trim($str); |