summary refs log tree commit diff stats
path: root/lib/packages
diff options
context:
space:
mode:
authorFelix Krause <contact@flyx.org>2016-01-11 22:52:59 +0100
committerFelix Krause <contact@flyx.org>2016-01-11 22:52:59 +0100
commit708b9f90b7a2fdbcbd9729eec9b8916446317be1 (patch)
tree1bfaa7716c1b679cc4b0ca299c308f74f041e9c4 /lib/packages
parentfffdae32c71290af73c0897954733c53216ce434 (diff)
downloadNim-708b9f90b7a2fdbcbd9729eec9b8916446317be1.tar.gz
Made docgen emit valid XML by default
Diffstat (limited to 'lib/packages')
-rw-r--r--lib/packages/docutils/rstgen.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/packages/docutils/rstgen.nim b/lib/packages/docutils/rstgen.nim
index 4a0304a7c..22d944597 100644
--- a/lib/packages/docutils/rstgen.nim
+++ b/lib/packages/docutils/rstgen.nim
@@ -534,7 +534,7 @@ proc generateDocumentationJumps(docs: IndexedDocs): string =
   for title in titles:
     chunks.add("<a href=\"" & title.link & "\">" & title.keyword & "</a>")
 
-  result.add(chunks.join(", ") & ".<br>")
+  result.add(chunks.join(", ") & ".<br/>")
 
 proc generateModuleJumps(modules: seq[string]): string =
   ## Returns a plain list of hyperlinks to the list of modules.
@@ -544,7 +544,7 @@ proc generateModuleJumps(modules: seq[string]): string =
   for name in modules:
     chunks.add("<a href=\"" & name & ".html\">" & name & "</a>")
 
-  result.add(chunks.join(", ") & ".<br>")
+  result.add(chunks.join(", ") & ".<br/>")
 
 proc readIndexDir(dir: string):
     tuple[modules: seq[string], symbols: seq[IndexEntry], docs: IndexedDocs] =