Fixed a bug with html-output of the standard ANSI-backgrounds.
This commit is contained in:
parent
0451ce7685
commit
c46e115901
1 changed files with 8 additions and 0 deletions
|
|
@ -51,6 +51,14 @@ class TextToHTMLparser(object):
|
||||||
] + [("color-%03i" % (i+16), XTERM256_FG % ("%03i" % (i+16))) for i in xrange(240)]
|
] + [("color-%03i" % (i+16), XTERM256_FG % ("%03i" % (i+16))) for i in xrange(240)]
|
||||||
|
|
||||||
colorback = [
|
colorback = [
|
||||||
|
('bgcolor-000', ANSI_BACK_BLACK), # pure black
|
||||||
|
('bgcolor-001', ANSI_BACK_RED),
|
||||||
|
('bgcolor-002', ANSI_BACK_GREEN),
|
||||||
|
('bgcolor-003', ANSI_BACK_YELLOW),
|
||||||
|
('bgcolor-004', ANSI_BACK_BLUE),
|
||||||
|
('bgcolor-005', ANSI_BACK_MAGENTA),
|
||||||
|
('bgcolor-006', ANSI_BACK_CYAN),
|
||||||
|
('bgcolor-007', ANSI_BACK_WHITE), # light grey
|
||||||
('bgcolor-000', unhilite + ANSI_BLACK), # pure black
|
('bgcolor-000', unhilite + ANSI_BLACK), # pure black
|
||||||
('bgcolor-001', unhilite + ANSI_RED),
|
('bgcolor-001', unhilite + ANSI_RED),
|
||||||
('bgcolor-002', unhilite + ANSI_GREEN),
|
('bgcolor-002', unhilite + ANSI_GREEN),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue