summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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' ) {