about summary refs log tree commit diff homepage
path: root/templates/directory.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/directory.html')
-rw-r--r--templates/directory.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/directory.html b/templates/directory.html
index 6fc35fa..a04637e 100644
--- a/templates/directory.html
+++ b/templates/directory.html
@@ -4,7 +4,7 @@
 <body>
   <main>
     <a href=../><p>../</p></a>{{range .Entries}}
-    <a href="./{{.}}"><p>{{.}}</p></a>{{end}}
+    <a href="./{{. | escape}}"><p>{{.}}</p></a>{{end}}
   </main>
 </body>
 </html>