diff --git a/templates/notfound.tmpl b/templates/notfound.tmpl
--- a/templates/notfound.tmpl
+++ b/templates/notfound.tmpl
@@ -5,7 +5,7 @@
Mercurial Repositories
-The specified repository "#repo#" is unknown, sorry.
+The specified repository "#repo|escape#" is unknown, sorry.
Please go back to the main repository list page.