diff --git a/server/server.nim b/server/server.nim
index 8f35118..e469550 100644
--- a/server/server.nim
+++ b/server/server.nim
@@ -5,7 +5,7 @@
# distribution, for details about the copyright.
import jester, asyncdispatch, json, streams, strutils
-import packages.docutils.rstgen, packages.docutils.highlite, options
+import packages/docutils/rstgen, packages/docutils/highlite, options
import ../yaml
routes:
@@ -57,7 +57,7 @@ routes:
of gtNone, gtWhitespace:
highlighted.add(substr(output.data, g.start, g.length + g.start - 1))
else:
- highlighted.addf("$1", "\\span$2{$1}",
+ highlighted.addf("$1",
esc(outHtml, substr(output.data, g.start, g.length+g.start-1)),
tokenClassToStr[g.kind])