Commits

Janto Dreijer committed 29f4cb7

reverse docutils warning

Comments (0)

Files changed (1)

 		try:
 			escaped_description = rst2html(d["description"])
 		except docutils.utils.SystemMessage, e:
-			escaped_description = htmlquote(d["description"]).replace(r"\n", "<br />\n") + "\n<!-- DOCUTILS WARNING! %s -->" % str(e)
+			escaped_description = ("<!-- DOCUTILS WARNING! %s -->\n" % str(e)) + htmlquote(d["description"]).replace(r"\n", "<br />\n")
 
 		revision = d.get("revision")
 		revision = ("version " + revision) if revision else ""