strip the color name before parsing it

This permits to use spaces to indent themes.
This commit is contained in:
Johann Dreo 2013-10-10 22:17:50 +02:00
commit 2616166f76

View file

@ -290,6 +290,7 @@ def colorin(text, color="red", style="normal"):
if style in styles:
style_code = str(styles[style])
color = color.strip()
if color == "none":
# if no color, style cannot be applied
if not debug: