Merged revisions 5062 via svnmerge from
https://svn.webgui.org/plainblack/branch/WebGUI_7.4 ........ r5062 | graham | 2007-11-29 09:45:32 -0600 (Thu, 29 Nov 2007) | 1 line fix: double width characters encoded incorrectly in Collaboration RSS feed ........
This commit is contained in:
parent
c091192f47
commit
377386f239
2 changed files with 5 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ package WebGUI::Asset::RSSFromParent;
|
|||
=cut
|
||||
|
||||
use strict;
|
||||
use Encode;
|
||||
use HTML::Entities;
|
||||
use Tie::IxHash;
|
||||
use base 'WebGUI::Asset';
|
||||
|
|
@ -69,6 +70,7 @@ sub update {
|
|||
sub _escapeXml {
|
||||
my $text = shift;
|
||||
return $text unless (ref $text eq "");
|
||||
$text = decode('utf8', $text);
|
||||
return HTML::Entities::encode_numeric($text)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue