about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/loader/dirlist.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/loader/dirlist.nim b/src/loader/dirlist.nim
index 5de79084..2328cd55 100644
--- a/src/loader/dirlist.nim
+++ b/src/loader/dirlist.nim
@@ -42,7 +42,7 @@ func makeDirlist*(items: seq[DirlistItem]): string =
         path &= '/'
     elif item.t == ITEM_DIR:
       path &= '/'
-    var line = "<A HREF=" & path & '>' & htmlEscape(name) & "</A>"
+    var line = "<A HREF=\"" & path & "\">" & htmlEscape(name) & "</A>"
     while width <= maxw:
       if width mod 2 == 0:
         line &= ' '