nit: Added link to `CONTRIBUTING.md` from the README
[nit.git] / contrib / nitiwiki / src / wiki_links.nit
index c1785b2..ac3e171 100644 (file)
@@ -211,7 +211,7 @@ redef class WikiArticle
                super
                if not is_dirty and not wiki.force_render or not has_source then return
                content = md_proc.process(md.as(not null))
-               headlines.recover_with(md_proc.emitter.decorator.headlines)
+               headlines.add_all(md_proc.emitter.decorator.headlines)
        end
 end