Take full headline body for search function.
Using just `get_contents` doesn't get list items or tables.
This commit is contained in:
parent
c80ada2a40
commit
486c88c583
@ -226,7 +226,7 @@ def regen_all(src_top, dest_top, *, docs=None, db=None):
|
|||||||
(
|
(
|
||||||
headline.id,
|
headline.id,
|
||||||
headline.title.get_text(),
|
headline.title.get_text(),
|
||||||
''.join(headline.get_contents('raw')),
|
'\n'.join(headline.doc.dump_headline(headline, recursive=False)),
|
||||||
topLevelHeadline.title.get_text(),
|
topLevelHeadline.title.get_text(),
|
||||||
headline.is_done,
|
headline.is_done,
|
||||||
headline.is_todo,
|
headline.is_todo,
|
||||||
|
Loading…
Reference in New Issue
Block a user