From 29f845d88683b0c4ba851f7c2bdf1f9d966d0d51 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Wed, 8 Jun 2022 08:53:03 -0300 Subject: [PATCH] Fixed the code that moves the basic indicator --- kibot/macros.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kibot/macros.py b/kibot/macros.py index d1c4dfe6..ba56492c 100644 --- a/kibot/macros.py +++ b/kibot/macros.py @@ -82,7 +82,7 @@ def document(sentences, **kw): # Hardcoded type hint, don't add one type_hint = '' # The * marks this option as a basic (not advanced) option - if doc_str.startswith(' *'): + if doc_str.startswith(' *') and type_hint: # Move the marker to the beginning doc_str = ' '+doc_str[2:] type_hint = '*'+type_hint