diff --git a/srb2query.php b/srb2query.php index 0d39ff5916e95d05d26391f81fbe1b424ea381e1..d2fce4988169dfa7d7455b055f2606b47a6a891b 100644 --- a/srb2query.php +++ b/srb2query.php @@ -639,8 +639,9 @@ class SRB2Query } // Remove anything that is not printable ASCII and sanitize! - $s = '<span>' . htmlentities(preg_replace('/[\x00-\x19\x7F-\xFF]/', '', - str_replace($codes, $alts, $s))) . '</span>'; + $s = '<span style="color:' . $this->colors[0] . '">' . + htmlentities(preg_replace('/[\x00-\x19\x7F-\xFF]/', '', + str_replace($codes, $alts, $s))) . '</span>'; for ($i = 0x00; $i <= 0x0F; ++$i) {