diff --git a/engine/make_index.py b/engine/make_index.py index d0c8bb0..e2b5fc0 100755 --- a/engine/make_index.py +++ b/engine/make_index.py @@ -93,6 +93,11 @@ def update(self, list_md): if l.strip().startswith('[desc:'): desc = l.replace('[desc:', '').replace(']', '').strip() + desc = desc.replace('#todo', '#todo') + desc = desc.replace('#work', '#work') + desc = desc.replace('#done', '#done') + desc = desc.replace('#progress', '#progress ') + desc = desc.replace('#waiting', '#waiting') mdfn = re.sub('.md$', '', mdfn) # replace only .md at the very end path = PATH_TO_HTML + '/' + mdfn diff --git a/engine/postprocessing.py b/engine/postprocessing.py index 8673134..2f18ddb 100755 --- a/engine/postprocessing.py +++ b/engine/postprocessing.py @@ -173,15 +173,14 @@ def get_todo(text): l = l.replace('@inprogress', '@inprogress') l = l.replace('@progress', '@progress ') l = l.replace('#progress', '#progress ') + l = l.replace('#work', '#work') l = l.replace('@done', '@done') - l = l.replace('#done', '#done') - l = l.replace('#DONE', '#DONE') + #l = l.replace('#DONE', '#DONE') l = l.replace('#@k', '@ok') l = l.replace('#ok', '#ok') l = l.replace('#success', '#success') l = l.replace('@fixed', '@fixed') - l = l.replace('#waiting', '#waiting') l = l.replace('@error', '@error') @@ -191,6 +190,8 @@ def get_todo(text): l = l.replace('#True', 'True') l = l.replace('#False', 'False') + l = l.replace('#done', '#done') + ntext += l + '\n' ntext = change_todo_square_chainbox_or_icon(ntext) return ntext