diff --git a/wiki/parser/Box.py b/wiki/parser/Box.py index e3772b4b..ab6d65b2 100644 --- a/wiki/parser/Box.py +++ b/wiki/parser/Box.py @@ -96,7 +96,7 @@ class Parser: for anArg in argList: anArg = anArg.strip(u' ') if anArg.find(u'color=')!=-1: - theColor = anArg.split(u'=')[1] + theColor = anArg.split(u'=')[1].lower() if theColor == 'random': theColor = self.getRandomColor() settings['color'] = theColor