Fix typo that led to comments being blanked

master
Simon McVittie 2008-11-18 10:25:10 +00:00
parent 3d4aa065d6
commit 57e40b9ce5
1 changed files with 1 additions and 1 deletions

View File

@ -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