diff --git a/mercurial/templates/coal/map b/mercurial/templates/coal/map
--- a/mercurial/templates/coal/map
+++ b/mercurial/templates/coal/map
@@ -224,7 +224,7 @@ indexarchiveentry = '{type|escape}
+ {type|escape}
'
notfound = ../paper/notfound.tmpl
error = ../paper/error.tmpl
diff --git a/mercurial/templates/gitweb/map b/mercurial/templates/gitweb/map
--- a/mercurial/templates/gitweb/map
+++ b/mercurial/templates/gitweb/map
@@ -289,7 +289,7 @@ filelogentry = '
file | diff | annotate {rename%filelogrename} |
'
-archiveentry = ' | {type|escape} '
+archiveentry = ' | {type|escape} '
indexentry = '
diff --git a/mercurial/templates/monoblue/map b/mercurial/templates/monoblue/map
--- a/mercurial/templates/monoblue/map
+++ b/mercurial/templates/monoblue/map
@@ -245,7 +245,7 @@ filelogentry = '
{rename%filelogrename}
|
'
-archiveentry = '{type|escape}'
+archiveentry = '{type|escape}'
indexentry = '
{name|escape} |
diff --git a/mercurial/templates/paper/map b/mercurial/templates/paper/map
--- a/mercurial/templates/paper/map
+++ b/mercurial/templates/paper/map
@@ -232,7 +232,7 @@ indexarchiveentry = '{type|escape}
+ {type|escape}
'
notfound = notfound.tmpl
error = error.tmpl