OSDN Git Service
(root)
/
pukiwiki
/
pukiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a04c9be
)
BugTrack/2443 showrss plugin: Enable to show Japanese RSS feeds
author
umorigu
<umorigu@gmail.com>
Sat, 21 Oct 2017 02:12:26 +0000
(11:12 +0900)
committer
umorigu
<umorigu@gmail.com>
Sat, 21 Oct 2017 02:12:26 +0000
(11:12 +0900)
plugin/showrss.inc.php
patch
|
blob
|
history
diff --git
a/plugin/showrss.inc.php
b/plugin/showrss.inc.php
index
9968214
..
c32cd0a
100644
(file)
--- a/
plugin/showrss.inc.php
+++ b/
plugin/showrss.inc.php
@@
-272,7
+272,7
@@
class ShowRSS_XML
// Unescape already-escaped chars (<, >, &, ...) in RSS body before htmlsc()
$str = strtr($str, array_flip(get_html_translation_table(ENT_COMPAT)));
// Escape
- $str = htmlsc($str);
+ $str = htmlsc($str
, ENT_COMPAT, $this->encoding
);
// Encoding conversion
$str = mb_convert_encoding($str, SOURCE_ENCODING, $this->encoding);
return trim($str);