diff options
Diffstat (limited to 'Xerl')
| -rw-r--r-- | Xerl/Page/Content.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Xerl/Page/Content.pm b/Xerl/Page/Content.pm index 1fcc27e..6acd909 100644 --- a/Xerl/Page/Content.pm +++ b/Xerl/Page/Content.pm @@ -110,9 +110,7 @@ sub _insertrules($$$) { } elsif ( lc $name eq 'inject' ) { # Fetch via LWP::Simple - my $got = get($text) or push @content "Error:$!"; - my $got = "$got:text:$text"; - push @content, '<noop>', $got, '</noop>'; + push @content, '<noop>', get($text), '</noop>'; } elsif ( lc $name eq 'navigation' ) { |
