freebsd-ports/textproc/p5-XML-RSS/files/patch-lib::RSS.pm
Cheng-Lung Sung 0d4cc7df22 - patch that make '>' encoded to '>'
- bump PORTREVISION
2005-04-06 05:09:20 +00:00

10 lines
282 B
Perl

--- lib/RSS.pm.orig Wed Apr 21 15:14:43 2004
+++ lib/RSS.pm Wed Apr 6 13:06:54 2005
@@ -1800,6 +1800,7 @@
$text =~ s/&(?!(#[0-9]+|#x[0-9a-fA-F]+|\w+);)/&/g;
$text =~ s/&($entities);/$entity{$1}/g;
$text =~ s/</&lt;/g;
+ $text =~ s/>/&gt;/g;
return $text;
}