ni_nitdoc: new workflow for comment modification
[nit.git] / src / ni_nitdoc.nit
index cc0b946..5405e99 100644 (file)
@@ -1734,7 +1734,8 @@ redef class ADoc
                        if text.first == ' ' then text = text.substring_from(1)
                        res.append(text.html_escape)
                end
-               return res.to_s
+               var str = res.to_s
+               return str.substring(0, str.length - 1)
        end
 end