diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-07-26 21:54:44 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-07-26 21:54:44 +0000 |
commit | d9c118dbf1753abcbf081f532aecfe8cb6ce7de7 (patch) | |
tree | 4760a558c0ab1f7cbd4d44454c3f36cd072fe78c /IkiWiki/CGI.pm | |
parent | 061afedb261f67731acac341811f4b086da2ab92 (diff) | |
download | ikiwiki-d9c118dbf1753abcbf081f532aecfe8cb6ce7de7.tar ikiwiki-d9c118dbf1753abcbf081f532aecfe8cb6ce7de7.tar.gz |
* 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.
Diffstat (limited to 'IkiWiki/CGI.pm')
-rw-r--r-- | IkiWiki/CGI.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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", ""); |