make tools/nimweb.nim compileable with latest Nim (#7602)

This commit is contained in:
skilchen
2018-04-13 22:57:10 +02:00
committed by Andreas Rumpf
parent e3037a2f33
commit a3cf1cff5b

View File

@@ -418,7 +418,7 @@ proc generateRss(outputFilename: string, news: seq[TRssItem]) =
href = rss.url),
updatedDate(rss.year, rss.month, rss.day),
"<author><name>Nim</name></author>",
content(xmltree.escape(rss.content), `type` = "text"),
content(xmltree.escape(rss.content), `type` = "text")
))
output.write("""</feed>""")