From 708b9f90b7a2fdbcbd9729eec9b8916446317be1 Mon Sep 17 00:00:00 2001 From: Felix Krause Date: Mon, 11 Jan 2016 22:52:59 +0100 Subject: Made docgen emit valid XML by default --- lib/packages/docutils/rstgen.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/packages') 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("" & title.keyword & "") - result.add(chunks.join(", ") & ".
") + result.add(chunks.join(", ") & ".
") 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("" & name & "") - result.add(chunks.join(", ") & ".
") + result.add(chunks.join(", ") & ".
") proc readIndexDir(dir: string): tuple[modules: seq[string], symbols: seq[IndexEntry], docs: IndexedDocs] = -- cgit 1.4.1-2-gfad0