doc/commands: fix HTML rendering for CmdEntity
[nit.git] / src / doc / commands / commands_html.nit
index ee7a792..ec4042a 100644 (file)
@@ -48,7 +48,7 @@ redef class CmdEntity
        redef fun to_html do
                var mentity = self.mentity
                if mentity == null then return ""
-               return mentity.html_link
+               return mentity.html_link.write_to_string
        end
 end