diff options
-rw-r--r-- | pygments/lexers/templates.py | 1 | ||||
-rw-r--r-- | pygments/style.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/pygments/lexers/templates.py b/pygments/lexers/templates.py index 84850728..c154eb0f 100644 --- a/pygments/lexers/templates.py +++ b/pygments/lexers/templates.py @@ -1504,6 +1504,7 @@ class ColdfusionLexer(RegexLexer): ], } + class ColdfusionMarkupLexer(RegexLexer): """ Coldfusion markup only diff --git a/pygments/style.py b/pygments/style.py index 470fe99f..0d9e6eb6 100644 --- a/pygments/style.py +++ b/pygments/style.py @@ -26,7 +26,7 @@ class StyleMeta(type): if len(col) == 6: return col elif len(col) == 3: - return col[0]+'0'+col[1]+'0'+col[2]+'0' + return col[0]*2 + col[1]*2 + col[2]*2 elif text == '': return '' assert False, "wrong color format %r" % text |