summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/comments.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2010-04-10 14:33:51 -0400
committerJoey Hess <joey@gnu.kitenet.net>2010-04-10 14:33:51 -0400
commit002d9e3cb52eadc8c2feb6bfac020b0651c6e0b7 (patch)
tree4be160afee8b309299ff60bcbf12286bf12b3ebb /IkiWiki/Plugin/comments.pm
parentd1a616df2ed79b1602658c5d10d54ee00afc537e (diff)
parent5408279b5ffd7038bb0c279d1379c7e0d21d0a96 (diff)
Merge remote branch 'smcv/unescaped-meta'
Conflicts: IkiWiki/Plugin/meta.pm
Diffstat (limited to 'IkiWiki/Plugin/comments.pm')
-rw-r--r--IkiWiki/Plugin/comments.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/comments.pm b/IkiWiki/Plugin/comments.pm
index 460341710..0aa043215 100644
--- a/IkiWiki/Plugin/comments.pm
+++ b/IkiWiki/Plugin/comments.pm
@@ -221,9 +221,9 @@ sub preprocess {
}
if (defined $params{subject}) {
- # encode title the same way meta does
+ # decode title the same way meta does
eval q{use HTML::Entities};
- $pagestate{$page}{meta}{title} = HTML::Entities::encode_numeric(decode_entities($params{subject}));
+ $pagestate{$page}{meta}{title} = decode_entities($params{subject});
}
if ($params{page} =~ m/\/\Q$config{comments_pagename}\E\d+_/) {