adapt comment.tmpl to html5
[ikiwiki.git] / IkiWiki / Plugin / comments.pm
index 02f1d93011f0f3afda8ede7b4c67ddd047b5f438..89560c88b11e803787df08bff66d50836756275c 100644 (file)
@@ -673,6 +673,7 @@ sub previewcomment ($$$) {
        my $template = template("comment.tmpl");
        $template->param(content => $preview);
        $template->param(ctime => displaytime($time, undef, 1));
        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,
 
        IkiWiki::run_hooks(pagetemplate => sub {
                shift->(page => $location,