From 981cbfb7e0be0ac82345d50300b1c4f5144071c3 Mon Sep 17 00:00:00 2001 From: Alexandre Terrasa Date: Tue, 29 Aug 2017 19:52:54 -0400 Subject: [PATCH] src/doc_down: fix `comment` behavior Signed-off-by: Alexandre Terrasa --- src/doc/doc_down.nit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/doc_down.nit b/src/doc/doc_down.nit index dbb5252..eedfdf6 100644 --- a/src/doc/doc_down.nit +++ b/src/doc/doc_down.nit @@ -28,7 +28,7 @@ redef class MDoc var comment: String is lazy do var lines = content.to_a if not lines.is_empty then lines.shift - return content.join("\n") + return lines.join("\n") end # Full comment HTML escaped. -- 1.7.9.5