From d9c118dbf1753abcbf081f532aecfe8cb6ce7de7 Mon Sep 17 00:00:00 2001 From: joey Date: Wed, 26 Jul 2006 21:54:44 +0000 Subject: * Run page through any relevant filters when generating a page preview. * Noticed a bug in the wikitext markup plugin -- it made CamelCase links the default throughout the wiki, not only on wikitext pages. Decided to call this a feature, and split the camelcase support out into a separate plugin that is independant of wikitext. --- IkiWiki/CGI.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IkiWiki/CGI.pm') diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm index 759a49b7d..7360ca998 100644 --- a/IkiWiki/CGI.pm +++ b/IkiWiki/CGI.pm @@ -417,7 +417,7 @@ sub cgi_editpage ($$) { #{{{ $form->field(name => "comments", value => $comments, force => 1); $form->tmpl_param("page_preview", - htmlize($type, linkify($page, $page, $content))); + htmlize($type, linkify($page, $page, filter($page, $content)))); } else { $form->tmpl_param("page_preview", ""); -- cgit v1.2.3