From: Joey Hess Date: Wed, 17 Dec 2008 18:56:10 +0000 (-0500) Subject: rename: Fix double-escaping of page name in edit box. X-Git-Tag: 2.71~78^2~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b2366f764b799522c323730eee34d99afc70cad1;p=ikiwiki.git rename: Fix double-escaping of page name in edit box. titlepage normally escapes, but so does formbuilder. --- 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; diff --git a/debian/changelog b/debian/changelog index 76f00157d..b43144b36 100644 --- a/debian/changelog +++ b/debian/changelog @@ -15,6 +15,7 @@ ikiwiki (2.71) UNRELEASED; urgency=low generated. * meta: Pass info to htmlscrubber so htmlscrubber_skip can take effect. * htmlbalance: don't compact whitespace, and set misc other options (smcv) + * rename: Fix double-escaping of page name in edit box. -- Joey Hess Mon, 17 Nov 2008 14:02:10 -0500