URL: <https://savannah.nongnu.org/support/?111307>
Summary: Savannah should automatically line-break long URLs in comments Group: Savannah Administration Submitter: barx Submitted: Mon 25 Aug 2025 11:55:46 PM CDT Category: Savannah trackers - bugs, tasks, etc. Priority: 5 - Normal Severity: 1 - Wish Status: None Privacy: Public Assigned to: None Originator Email: Operating System: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Follow-up Comments: ------------------------------------------------------- Date: Mon 25 Aug 2025 11:55:46 PM CDT By: Dave <barx> The last line of http://savannah.gnu.org/bugs/?60927#comment10 is a long URL that, in some browsers, causes a significant horizontal scrollbar to be added to the page, hindering readability of all the ticket's comments. Outside of verbatim blocks, savannah should insert the <wbr> HTML tag at strategic points in the displayed text of a URL, to allow the browser to break the line, while leaving the link target unaltered so clicking the link works as expected. (This should be done for all URLs, rather than just especially long ones, because on narrow displays such as mobile screens, it takes a lot less to overrun the page width.) Savannah already detects URLs in the plain text of a comment (again, outside verbatim blocks), as it makes them clickable. So improving their visual formatting could be added to the processing it does when it recognizes a URL. (I recommend <wbr> over the nominally equivalent Unicode U+200B ZERO WIDTH SPACE character because the latter may be included in the selection when text is selected, rendering the URL invalid upon paste. The HTML tag leaves no trace in selected text.) _______________________________________________________ Reply to this item at: <https://savannah.nongnu.org/support/?111307> _______________________________________________ Message sent via Savannah https://savannah.nongnu.org/
signature.asc
Description: PGP signature