src/package/Data/Repositories/Support/Helpers.php
protected function ansi2Html($log)
    {
        $string = html_entity_decode(
            $this->ansiConverter->convert($log)
        );

        $string = str_replace("\r\n", '<br>', $string);

        $string = str_replace("\n", '<br>', $string);

        return $string;
    }
protected function ansi2Html($log)
    {
        $string = html_entity_decode(
            $this->ansiConverter->convert($log)
        );

        $string = str_replace("\r\n", '<br>', $string);

        $string = str_replace("\n", '<br>', $string);

        return $string;
    }
protected function ansi2Html ( $ log ) { $ string = html_entity_decode ( $ this -> ansiConverter -> convert ( $ log ) ) ; $ string = str_replace ( "\r\n" , '<br>' , $ string ) ; $ string = str_replace ( "\n" , '<br>' , $ string ) ; return $ string ; }
Convert output ansi chars to html.

@param $log

@return mixed|string
Convert output ansi chars to html .