nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
markdown: reset headlines collection between two processing
[nit.git]
/
lib
/
markdown
/
markdown.nit
diff --git
a/lib/markdown/markdown.nit
b/lib/markdown/markdown.nit
index
b29372f
..
2426d53
100644
(file)
--- a/
lib/markdown/markdown.nit
+++ b/
lib/markdown/markdown.nit
@@
-150,6
+150,7
@@
class MarkdownProcessor
parent.remove_surrounding_empty_lines
recurse(parent, false)
# output processed text
+ decorator.headlines.clear
return emit(parent.kind)
end