diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-11-06 20:49:18 -0500 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-11-06 20:49:18 -0500 |
commit | 11d377af816b30eba336fae2993a79362443c293 (patch) | |
tree | 7bed8d9eb92949be0f4f0b8df6dcb725234c76a5 /IkiWiki | |
parent | 96d52b82edffae197ae182f7073d4b7a8d88880b (diff) |
txt: Do not encode quotes when filtering the txt, as that broke later parsing of any directives on the page.
Diffstat (limited to 'IkiWiki')
-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) = @_; |