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
commit a3cf1cff5b

View file

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