X-Git-Url: http://nitlanguage.org diff --git a/src/doc/term/term.nit b/src/doc/term/term.nit index 61d5206..a82d7b8 100644 --- a/src/doc/term/term.nit +++ b/src/doc/term/term.nit @@ -207,7 +207,7 @@ redef class CmdFeatures end end -redef class CmdCode +redef class CmdEntityCode redef var format = "ansi" is optional @@ -222,7 +222,7 @@ redef class CmdCode print title end if no_color == null or not no_color then - var ansi = render + var ansi = render_code(node) if ansi != null then print "~~~" print ansi.write_to_string