X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/841617c9ff35d25dd7a89f6905a67a911c22e430..bff92e38909363ee11f3c24ee230f8ee373cfd67:/IkiWiki/CGI.pm?ds=sidebyside diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm index cfb2c0b1d..87cb9c3f3 100644 --- a/IkiWiki/CGI.pm +++ b/IkiWiki/CGI.pm @@ -354,9 +354,9 @@ sub cgi_editpage ($$) { #{{{ }); $form->tmpl_param("page_preview", htmlize($page, $type, - linkify($page, "", - preprocess($page, $page, - filter($page, $page, $content), 0, 1)))); + linkify($page, "/", + preprocess($page, "/", + filter($page, "/", $content), 0, 1)))); # previewing may have created files on disk saveindex(); }