Merge: lib/config: fix doc
authorJean Privat <jean@pryen.org>
Tue, 17 Oct 2017 20:09:24 +0000 (16:09 -0400)
committerJean Privat <jean@pryen.org>
Tue, 17 Oct 2017 20:09:24 +0000 (16:09 -0400)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

Pull-Request: #2564

lib/markdown/markdown.nit

index 4ae99fb..ecf6064 100644 (file)
@@ -1140,6 +1140,12 @@ class MDBlock
                        text.append "\n"
                        line = line.next
                end
+               var block = first_block
+               while block != null do
+                       text.append block.text
+                       text.append "\n"
+                       block = block.next
+               end
                return text.write_to_string
        end
 end