We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
unset
None
1 parent 924deb0 commit e4a83deCopy full SHA for e4a83de
lib/panela/panela_colors.py
@@ -654,9 +654,11 @@ def render_html(self, colorize=True):
654
if prev_style != (None, None):
655
sys.stdout.write("</span>")
656
if style != (None, None):
657
+ fore = style[0] if style[0] else 'unset'
658
+ back = style[1] if style[1] else 'unset'
659
sys.stdout.write("<span style=\"" +
- "color: %s; " % style[0] +
- "background-color: %s\">" % style[1])
660
+ "color: %s; " % fore +
661
+ "background-color: %s\">" % back)
662
prev_style = style
663
664
if char == '<':
0 commit comments