Comment field : When adding URL as a comment the test do not wrap #766

Closed
opened 2025-12-29 16:25:37 +01:00 by adam · 1 comment
Owner

Originally created by @himanisilva on GitHub (Mar 14, 2017).

Issue type:

When adding a URL in the comments the URL does not wrap to the comment box size
We could fix it by editing the HTML code "wrap text"on the web page. But can we get it fixed in Netbox code please

image

-->
Python version:
NetBox version: V1.9.1

Originally created by @himanisilva on GitHub (Mar 14, 2017). <!-- Please note: GitHub issues are to be used only for feature requests and bug reports. For installation assistance or general discussion, please join us on the mailing list: https://groups.google.com/forum/#!forum/netbox-discuss Please indicate "bug report" or "feature request" below. Be sure to search the existing set of issues (both open and closed) to see if a similar issue has already been raised. --> ### Issue type: When adding a URL in the comments the URL does not wrap to the comment box size We could fix it by editing the HTML code "wrap text"on the web page. But can we get it fixed in Netbox code please ![image](https://cloud.githubusercontent.com/assets/24537122/23881232/436b3aa0-08ad-11e7-8291-ab9644cb4b9d.png) <!-- --> --> **Python version:** **NetBox version:** V1.9.1 <!-- If filing a bug, please record the exact steps taken to reproduce the bug and any errors messages that are generated. If filing a feature request, please precisely describe the data model or workflow you would like to see implemented, and provide a use case. -->
adam closed this issue 2025-12-29 16:25:37 +01:00
Author
Owner

@jeremystretch commented on GitHub (Mar 14, 2017):

This is simply how the browser renders text that it cannot wrap. Instead of showing the full link, I'd suggest using Markdown to give the link a shorter hypertext. For example:

Full path MAP is [available on Sharepoint](https://reallylonglinkgoeshere/)
@jeremystretch commented on GitHub (Mar 14, 2017): This is simply how the browser renders text that it cannot wrap. Instead of showing the full link, I'd suggest using [Markdown](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet) to give the link a shorter hypertext. For example: ``` Full path MAP is [available on Sharepoint](https://reallylonglinkgoeshere/) ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#766