Markdown syntax not working correctly within comment fields #6342

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

Originally created by @ghost on GitHub (Apr 11, 2022).

Originally assigned to: @kkthxbye-code on GitHub.

NetBox version

v3.2.0

Python version

3.8

Steps to Reproduce

  1. Navigate to any object that has a 'comments' field.
  2. Attempt to create a URL using angle brackets < >.
  3. Click save.

Expected Behavior

Netbox should turn the text within the angle brackets into a clickable URL.

Observed Behavior

Text contained within the angle brackets completely disappears after clicking save.
1
2
3

Originally created by @ghost on GitHub (Apr 11, 2022). Originally assigned to: @kkthxbye-code on GitHub. ### NetBox version v3.2.0 ### Python version 3.8 ### Steps to Reproduce 1. Navigate to any object that has a 'comments' field. 2. Attempt to create a URL using angle brackets < >. 3. Click save. ### Expected Behavior Netbox should turn the text within the angle brackets into a clickable URL. ### Observed Behavior Text contained within the angle brackets completely disappears after clicking save. ![1](https://user-images.githubusercontent.com/77940332/162644205-24ec92db-d160-4c81-b3d6-36af76436c57.PNG) ![2](https://user-images.githubusercontent.com/77940332/162644206-5debb1bd-7bce-42df-a9bf-d10ea1d9ebd4.PNG) ![3](https://user-images.githubusercontent.com/77940332/162644207-1be90862-01f1-44cd-9621-af0a649b2122.PNG)
adam added the type: bugstatus: accepted labels 2025-12-29 19:39:37 +01:00
adam closed this issue 2025-12-29 19:39:37 +01:00
Author
Owner

@bogdancordos commented on GitHub (Apr 12, 2022):

The error states above is due to the missing "mailto:" tag [fake@example](mailto:fake@example.com)
I do understand what you mean, I'm just pointing that the error is not due to NetBox failing to transform the <>.

@bogdancordos commented on GitHub (Apr 12, 2022): The error states above is due to the missing "mailto:" tag `[fake@example](mailto:fake@example.com)` I do understand what you mean, I'm just pointing that the error is not due to NetBox failing to transform the <>.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#6342