summaryrefslogtreecommitdiff
path: root/textproc/p5-XML-RSS/files/patch-lib::RSS.pm
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2005-04-06 05:09:20 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2005-04-06 05:09:20 +0000
commit0d4cc7df2201080ed111cc67e3ba814347c674dc (patch)
tree83b45b7529706a098c332fbb2c80dfb178b052ff /textproc/p5-XML-RSS/files/patch-lib::RSS.pm
parent- update to 3.1.1 (diff)
- patch that make '>' encoded to '&gt;'
- bump PORTREVISION
Diffstat (limited to 'textproc/p5-XML-RSS/files/patch-lib::RSS.pm')
-rw-r--r--textproc/p5-XML-RSS/files/patch-lib::RSS.pm10
1 files changed, 10 insertions, 0 deletions
diff --git a/textproc/p5-XML-RSS/files/patch-lib::RSS.pm b/textproc/p5-XML-RSS/files/patch-lib::RSS.pm
new file mode 100644
index 000000000000..9f1cc6535054
--- /dev/null
+++ b/textproc/p5-XML-RSS/files/patch-lib::RSS.pm
@@ -0,0 +1,10 @@
+--- 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+);)/&amp;/g;
+ $text =~ s/&($entities);/$entity{$1}/g;
+ $text =~ s/</&lt;/g;
++ $text =~ s/>/&gt;/g;
+
+ return $text;
+ }