On Saturday, April 18, 2020 at 5:41:36 AM UTC-4, lewis wrote:
>
> After using a leo script_A to convert a list of lines into separate nodes 
> for each line of p.b.
> I have a script_B that reads child nodes, and copies all the body text 
> lines back to the parent. It is based on @button promote-child-bodies, from 
> LeoDocs.
>

You need to include the separators you want, in this case a newline:

p.b = '\n'.join(result)

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/d6d1b694-b70c-4544-b049-4740316b9210%40googlegroups.com.

Reply via email to