nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge: markdown: merge MDProcessor and MDEmitter
[nit.git]
/
lib
/
markdown
/
markdown.nit
diff --git
a/lib/markdown/markdown.nit
b/lib/markdown/markdown.nit
index
1a84b0e
..
b29372f
100644
(file)
--- a/
lib/markdown/markdown.nit
+++ b/
lib/markdown/markdown.nit
@@
-1120,6
+1120,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