public function width(): int
    {
        $lines = explode("\n", $this->value());
        $width = [];

        foreach ($lines as $line) {
            $raw = strip_tags($line);
            $width[] = strlen(trim($raw));
        }

        return max($width);
    }