diff --git a/scripts/generate.py b/scripts/generate.py index e80be56..6c990c0 100644 --- a/scripts/generate.py +++ b/scripts/generate.py @@ -226,7 +226,7 @@ def regen_all(src_top, dest_top, *, docs=None, db=None): ( headline.id, headline.title.get_text(), - ''.join(headline.get_contents('raw')), + '\n'.join(headline.doc.dump_headline(headline, recursive=False)), topLevelHeadline.title.get_text(), headline.is_done, headline.is_todo,