[Buildroot] [PATCH 2/3] support/scripts/pkg-stats: adjust column widths
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Tue Aug 2 21:18:29 UTC 2022
On Tue, 2 Aug 2022 14:47:08 -0500
Sen Hastings <sen at phobosdpl.com> wrote:
> Yeah, I noticed that even with the older sortable based versions of
> pkg-stats.html. It appears to be caused by the extremely long formatted
> string binding WFN for ssdp-responder:
>
> "cpe:2.3:a:simple_service_discovery_protocol_responder_project:simple_service_discovery_protocol_responder:1.8:*:*:*:*:*:*:*"
>
> In order to get that cell narrower we would need to either do line
> wrapping or horizontal scrolling. As an example for line wrapping,
> the <wbr> element could be inserted between vendor and product.
>
> something like:
> <code>cpe:2.3:part:vendor<wbr>product:version:update:edition:language:sw_edition:target_sw:target_hw:other</code>
>
> The good news is that this does not actually introduce any new
> characters (newline or otherwise) into the rendered text.
Wow, I didn't know about <wbr>. Seems like the right thing to do,
indeed!
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
More information about the buildroot
mailing list