private function wrapLineNumbers($count, $code, $line)
    {
        $length  = max(strlen($count), 2);
        $numbers = [];
        for ($number = 1; $number <= $count; $number++) {
            $numbers[] = str_pad($number, $length, '0', STR_PAD_LEFT);
        }
        if ($line > 0) {
            $numbers[$line - 1] = '<span class="errorline">' . $numbers[$line - 1] . '</span>';
        }
        $numbers = implode('<br/>', $numbers) . '<br/>';

        return
            '<table class="code"><tr>' .
            '<td><code>' . $numbers . '</code></td>' .
            '<td>' . $code . '</td>' .
            '</tr></table>';
    }