aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--IkiWiki/Plugin/rename.pm2
-rw-r--r--debian/changelog1
2 files changed, 2 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;
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 <joeyh@debian.org> Mon, 17 Nov 2008 14:02:10 -0500