Skip to content

Commit fa7d1ac

Browse files
committed
Make default colors for inline and class styles same
1 parent 92d2ef7 commit fa7d1ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SensioLabs/AnsiConverter/AnsiToHtmlConverter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function convert($text)
7474
if ($this->inlineStyles) {
7575
$html = sprintf('<span style="background-color: %s; color: %s">%s</span>', $this->inlineColors['black'], $this->inlineColors['white'], $html);
7676
} else {
77-
$html = sprintf('<span class="ansi_color_fg_black ansi_color_bg_white">%s</span>', $html);
77+
$html = sprintf('<span class="ansi_color_bg_black ansi_color_fg_white">%s</span>', $html);
7878
}
7979

8080
// remove empty span

0 commit comments

Comments
 (0)