diff options
author | intrigeri <intrigeri@boum.org> | 2008-11-07 22:19:24 +0100 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2008-11-07 22:19:24 +0100 |
commit | 339478ba4737d77b5e03a3489c3f1f78b7af147d (patch) | |
tree | 303db5cd9881f23240f31678e657643c1656f4c1 /IkiWiki/Plugin/txt.pm | |
parent | a0ac34607919eab8f25e5312366c9c06bcfb791b (diff) | |
parent | 32b86c5f5b8eef0fdeb2229159787cc3d9206a74 (diff) |
Merge commit 'upstream/master' into prv/po
Diffstat (limited to 'IkiWiki/Plugin/txt.pm')
-rw-r--r-- | IkiWiki/Plugin/txt.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/txt.pm b/IkiWiki/Plugin/txt.pm index e4c9e5d6a..e157bf07e 100644 --- a/IkiWiki/Plugin/txt.pm +++ b/IkiWiki/Plugin/txt.pm @@ -39,7 +39,7 @@ sub filter (@) { my $content = $params{content}; if (defined $pagesources{$params{page}} && $pagesources{$params{page}} =~ /\.txt$/) { - encode_entities($content); + encode_entities($content, "<>&"); if ($findurl) { my $finder = URI::Find->new(sub { my ($uri, $orig_uri) = @_; |