diff --git a/IkiWiki/Plugin/attachment.pm b/IkiWiki/Plugin/attachment.pm
index a58f696eb..c1d1d1c60 100644
--- a/IkiWiki/Plugin/attachment.pm
+++ b/IkiWiki/Plugin/attachment.pm
@@ -180,7 +180,7 @@ sub attachment_list ($) {
$f=~m/^\Q$loc\E[^\/]+$/ &&
-e "$config{srcdir}/$f") {
push @ret, {
- "field-select" => '',
+ "field-select" => '',
link => htmllink($page, $page, $f, noimageinline => 1),
size => humansize((stat(_))[7]),
mtime => displaytime($IkiWiki::pagemtime{$f}),
diff --git a/templates/editpage.tmpl b/templates/editpage.tmpl
index fdb142c70..42d61c188 100644
--- a/templates/editpage.tmpl
+++ b/templates/editpage.tmpl
@@ -64,14 +64,13 @@ Optional comment about this change: