diff options
author | Simon McVittie <smcv@ http://smcv.pseudorandom.co.uk/> | 2008-12-21 15:07:36 +0000 |
---|---|---|
committer | Simon McVittie <smcv@ http://smcv.pseudorandom.co.uk/> | 2008-12-21 15:07:36 +0000 |
commit | bc66a00b90e00971156f1aea5678ce88d006e84d (patch) | |
tree | fc2d44fd3787efee4aa37a24bcf4764dcff851b6 /IkiWiki | |
parent | cdccf7a80cbcc74f0f8337668e80d0cd3ce594a3 (diff) | |
download | ikiwiki-bc66a00b90e00971156f1aea5678ce88d006e84d.tar ikiwiki-bc66a00b90e00971156f1aea5678ce88d006e84d.tar.gz |
comments: linkify and preprocess preview with correct 'page' param
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/comments.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/comments.pm b/IkiWiki/Plugin/comments.pm index 644ef1be8..34bbafeed 100644 --- a/IkiWiki/Plugin/comments.pm +++ b/IkiWiki/Plugin/comments.pm @@ -432,8 +432,8 @@ sub sessioncgi ($$) { if ($form->submitted eq PREVIEW) { my $preview = IkiWiki::htmlize($location, $page, '_comment', - IkiWiki::linkify($page, $page, - IkiWiki::preprocess($page, $page, + IkiWiki::linkify($location, $page, + IkiWiki::preprocess($location, $page, IkiWiki::filter($location, $page, $content), 0, 1))); |