aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>2008-11-18 10:25:10 +0000
committerSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>2008-12-11 21:14:02 +0000
commit57e40b9ce5345530f31f4d1b25a49ed18228a8dd (patch)
tree3cd2b4f13beb2ee0e9cf57187463c8e6a0b0b778 /IkiWiki
parent3d4aa065d6a689a017c98e7ea8b80da0b65ae361 (diff)
downloadikiwiki-57e40b9ce5345530f31f4d1b25a49ed18228a8dd.tar
ikiwiki-57e40b9ce5345530f31f4d1b25a49ed18228a8dd.tar.gz
Fix typo that led to comments being blanked
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/comments.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/comments.pm b/IkiWiki/Plugin/comments.pm
index b57735545..9359e9487 100644
--- a/IkiWiki/Plugin/comments.pm
+++ b/IkiWiki/Plugin/comments.pm
@@ -232,7 +232,7 @@ sub sessioncgi ($$) { #{{{
my $body = $form->field('body') || '';
$body =~ s/\r\n/\n/g;
$body =~ s/\r/\n/g;
- $body = "\n" if $body !~ /\n$/;
+ $body .= "\n" if $body !~ /\n$/;
unless ($allow_directives) {
# don't allow new-style directives at all