Markdown filter incorrectly applied to the description field for custom field choice sets #11380

Closed
opened 2025-12-29 21:44:26 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Jul 14, 2025).

Originally assigned to: @jeremystretch on GitHub.

Deployment Type

Self-hosted

NetBox Version

v4.3.3

Python Version

3.10

Steps to Reproduce

  1. Create a custom field choice set with Markdown code in the description field, such as: **Foo**

Expected Behavior

The description is not intended to support Markdown rendering, so the text should render as-is, as with most other models.

Observed Behavior

The text is rendered as Markdown. (This template code was probably copied from the custom field template, which is an outlier because its description does support Markdown.)

Originally created by @jeremystretch on GitHub (Jul 14, 2025). Originally assigned to: @jeremystretch on GitHub. ### Deployment Type Self-hosted ### NetBox Version v4.3.3 ### Python Version 3.10 ### Steps to Reproduce 1. Create a custom field choice set with Markdown code in the `description` field, such as: `**Foo**` ### Expected Behavior The description is _not_ intended to support Markdown rendering, so the text should render as-is, as with most other models. ### Observed Behavior The text is rendered as Markdown. (This template code was probably copied from the custom field template, which is an outlier because its description _does_ support Markdown.)
adam added the type: bugstatus: acceptedseverity: low labels 2025-12-29 21:44:26 +01:00
adam closed this issue 2025-12-29 21:44:26 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#11380