ajustement tiret et apostrophe

This commit is contained in:
Francois Pelletier 2023-04-18 10:07:51 -04:00
parent 69c854f1ad
commit f17e341a93

View file

@ -38,7 +38,7 @@ def make_bold_part(token):
"""
Makes bold text.
"""
if (not only_alphanumerics(token)) or len(token) < 2:
if (not only_alphanumerics(token)) or len(token) <= 2:
return token
else:
mid_token = round(len(token)/2)