diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2008-12-17 13:56:10 -0500 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2008-12-17 13:56:10 -0500 |
commit | b2366f764b799522c323730eee34d99afc70cad1 (patch) | |
tree | e4181b75282a38160ded6f7dfbb9eac11466eeed /IkiWiki | |
parent | 8621e52e0939004ba170fb183e7b9c49aeb893e7 (diff) | |
download | ikiwiki-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.pm | 2 |
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; |