From 43895adef79bd83b6f276855ce91f7adc2709a00 Mon Sep 17 00:00:00 2001 From: Cyrille L Date: Thu, 9 Mar 2023 09:51:01 +0100 Subject: [PATCH] New CSS class for div after titles. Same as hX: "title_X" --- src/var/lib/tyto/program/wip.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/var/lib/tyto/program/wip.py b/src/var/lib/tyto/program/wip.py index 21f769b..b9e7052 100644 --- a/src/var/lib/tyto/program/wip.py +++ b/src/var/lib/tyto/program/wip.py @@ -580,7 +580,7 @@ def wip_titles(): global article_bottom article_temp = article_bottom - article_tmp2 = '' # COnstruct article, without empty lines + article_tmp2 = '' # Construct article, without empty lines for line in article_bottom.rsplit('\n'): if line.startswith('#'): @@ -608,7 +608,7 @@ def wip_titles(): continue else: article_temp = article_temp.replace( - line, '%s\n
'%line + line, '%s\n
'%(line, hx) ) continue else: