aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2008-12-17 13:56:10 -0500
committerJoey Hess <joey@gnu.kitenet.net>2008-12-17 13:56:10 -0500
commitb2366f764b799522c323730eee34d99afc70cad1 (patch)
treee4181b75282a38160ded6f7dfbb9eac11466eeed /IkiWiki
parent8621e52e0939004ba170fb183e7b9c49aeb893e7 (diff)
downloadikiwiki-b2366f764b799522c323730eee34d99afc70cad1.tar
ikiwiki-b2366f764b799522c323730eee34d99afc70cad1.tar.gz
rename: Fix double-escaping of page name in edit box.
titlepage normally escapes, but so does formbuilder.
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/rename.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/rename.pm b/IkiWiki/Plugin/rename.pm
index 7e55e271c..e4201cc94 100644
--- a/IkiWiki/Plugin/rename.pm
+++ b/IkiWiki/Plugin/rename.pm
@@ -111,7 +111,7 @@ sub rename_form ($$$) { #{{{
$f->field(name => "do", type => "hidden", value => "rename", force => 1);
$f->field(name => "page", type => "hidden", value => $page, force => 1);
- $f->field(name => "new_name", value => pagetitle($page), size => 60);
+ $f->field(name => "new_name", value => pagetitle($page, 1), size => 60);
if (!$q->param("attachment")) {
# insert the standard extensions
my @page_types;