data-workers-publication/create_works_text_blocks.py

6 lines
244 B
Python
Raw Normal View History

2019-03-25 08:35:09 +01:00
from functions import insert_linebreaks, insert_text_block
def create_works_text_block(intro_text, works_text):
works_text_block = insert_linebreaks(works_text, 65, type='word')
return insert_text_block(intro_text, works_text_block, 42, 65)