Fixes hex color serialization
This commit is contained in:
@@ -604,7 +604,7 @@ export class HTMLSerializeHandler extends BaseSerializeHandler {
|
|||||||
(color >> 8) & 255,
|
(color >> 8) & 255,
|
||||||
(color ) & 255
|
(color ) & 255
|
||||||
];
|
];
|
||||||
return rgb.map(x => this._padStart(x.toString(16), 2, '0')).join('');
|
return '#' + rgb.map(x => this._padStart(x.toString(16), 2, '0')).join('');
|
||||||
}
|
}
|
||||||
if (isFg ? cell.isFgPalette() : cell.isBgPalette()) {
|
if (isFg ? cell.isFgPalette() : cell.isBgPalette()) {
|
||||||
return this._ansiColors[color].css;
|
return this._ansiColors[color].css;
|
||||||
|
|||||||
Reference in New Issue
Block a user