From d46937e20f83e74317f9cc4434fbf69c7c0e2cd8 Mon Sep 17 00:00:00 2001 From: Cyrille L Date: Sat, 31 Dec 2022 15:54:12 +0100 Subject: [PATCH] wip: fix module order --- src/var/lib/tyto/program/wip.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/var/lib/tyto/program/wip.py b/src/var/lib/tyto/program/wip.py index 1d0af86..0890514 100644 --- a/src/var/lib/tyto/program/wip.py +++ b/src/var/lib/tyto/program/wip.py @@ -70,17 +70,17 @@ def wip_article(target): global post_header, article_header global post_bottom, article_bottom - - # Protect inline-codes - tyto.protect_icodes(post_bottom, article_bottom) - post_bottom = tyto.protect_article.rsplit('\n') - article_bottom = tyto.protect_article - + # Protect block-codes and quotes tyto.protect_bcodes_quotes('wip', post_bottom, article_bottom) post_bottom = tyto.protect_article.rsplit('\n') article_bottom = tyto.protect_article + # Protect inline-codes + tyto.protect_icodes(post_bottom, article_bottom) + post_bottom = tyto.protect_article.rsplit('\n') + article_bottom = tyto.protect_article + # Convert contents from modules wip_single_tags() # br /, anchors wip_words_tags() # Paragraphs, strongs, italics