X-Git-Url: http://git.tremily.us/?p=ikiwiki.git;a=blobdiff_plain;f=IkiWiki%2FPlugin%2Fcomments.pm;h=89560c88b11e803787df08bff66d50836756275c;hp=02f1d93011f0f3afda8ede7b4c67ddd047b5f438;hb=154732dc4235b7b31191975da50d780a2765fa02;hpb=cbe0726b6345bceed3ebc7fbd5ea2454dce63b15 diff --git a/IkiWiki/Plugin/comments.pm b/IkiWiki/Plugin/comments.pm index 02f1d9301..89560c88b 100644 --- a/IkiWiki/Plugin/comments.pm +++ b/IkiWiki/Plugin/comments.pm @@ -673,6 +673,7 @@ sub previewcomment ($$$) { my $template = template("comment.tmpl"); $template->param(content => $preview); $template->param(ctime => displaytime($time, undef, 1)); + $template->param(html5 => $config{html5}); IkiWiki::run_hooks(pagetemplate => sub { shift->(page => $location,