Fixed the code that moves the basic indicator

This commit is contained in:
Salvador E. Tropea 2022-06-08 08:53:03 -03:00
parent 54dd130e4f
commit 29f845d886
1 changed files with 1 additions and 1 deletions

View File

@ -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