diff --git a/src/var/lib/tyto/program/wip.py b/src/var/lib/tyto/program/wip.py index babd408..248c782 100644 --- a/src/var/lib/tyto/program/wip.py +++ b/src/var/lib/tyto/program/wip.py @@ -500,22 +500,32 @@ def wip_titles(): # Add div after title if needed for ln, line in enumerate(article_tmp2.rsplit('\n')): if line.startswith(''%line ) + continue + else: + continue + # Close div before title if needed article_tmp2 = article_temp - # Add div after title if needed indiv = False for ln, line in enumerate(article_tmp2.rsplit('\n')): - if line.startswith('\n%s'%line )