Revision 100
- Date:
- 2011/05/12 13:58:14
- Files:
Legend:
- Added
- Removed
- Modified
-
utf8/core/lib/Contenido/Parser/RSS.pm
1045 1045 sub __field_prepare { 1046 1046 my ($self, $text) = @_; 1047 1047 1048 # $text =~ s/^[\n\r\x20\t]+//; 1049 $text =~ s/[\n\r\x20\t]+$//; 1048 $text =~ s/^[\n\r\ \t]+//; 1049 $text =~ s/[\n\r\ \t]+$//; 1050 1050 $self->__cdata (\$text); 1051 1051 $self->__extchar (\$text); 1052 1052 # $text = HTML::Entities::decode_entities($text); … … 1085 1085 s/&/\&/sg; 1086 1086 s/\&/\&/sgi; 1087 1087 s/\&/\&/sgi; 1088 s/\</</sgi; 1089 s/\>/>/sgi; 1088 1090 s/\"/"/sgi; 1089 1091 s/\«/«/sg; 1090 1092 s/\»/»/sg; … … 1100 1102 s/\"/"/sg; 1101 1103 } 1102 1104 # $$textref =~ s/&#(\d+);/{'&#'.__normalise($1).';'}/eg; 1103 # $$textref =~ s/>/>/sgi; 1104 # $$textref =~ s/</</sgi; 1105 # $$textref =~ s/"/"/sgi; 1106 1105 # $$textref =~ s/«/«/sgi; 1107 1106 # $$textref =~ s/»/»/sgi; 1108 1107 # $$textref =~ s/©/©/sgi;