summaryrefslogtreecommitdiff
path: root/Xerl
diff options
context:
space:
mode:
authorPaul C. Buetow (mars.fritz.box) <paul@buetow.org>2014-04-27 12:13:18 +0200
committerPaul C. Buetow (mars.fritz.box) <paul@buetow.org>2014-04-27 12:13:18 +0200
commit4b1c7d3bdc6c950ad334bf4cdf88815456a99b85 (patch)
tree7a03393f4ef24b02686a6d0596415698d3001ff1 /Xerl
parent41421843e226ce9e9d362ba9ac5c7b52a78ceb91 (diff)
All I know is what the words know, and dead things, and that
makes a handsome little sum, with a beginning and a middle and an end, as in the well-built phrase and the long sonata of the dead. -- Samuel Beckett
Diffstat (limited to 'Xerl')
-rw-r--r--Xerl/Page/Content.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/Xerl/Page/Content.pm b/Xerl/Page/Content.pm
index ae9a116..6ec1a59 100644
--- a/Xerl/Page/Content.pm
+++ b/Xerl/Page/Content.pm
@@ -110,7 +110,10 @@ sub _insertrules($$$) {
}
elsif ( lc $name eq 'inject' ) {
# Fetch via LWP::Simple
- push @content, get($text);
+ my $got = get($text);
+ $got =~ s/</&lt;/g;
+ $got =~ s/>/&gt;/g;
+ push @content, $got;
}
elsif ( lc $name eq 'navigation' ) {