Skip to content

markdown syntax not rendering consistently in comments #20227

@rcon-git

Description

@rcon-git

Deployment Type

Self-hosted

NetBox Version

v4.3.7

Python Version

3.10

Steps to Reproduce

  1. Create a module type
  2. Add comments to module type

Example:

**Part Numbers:**
* JTK7F, X1KR4

**Compatible with:**
* PowerEdge C6520, C6525, R650, R6525, R750, R7525

Expected Behavior

Markdown syntax should render the same for all. bullet points, new lines, etc.

Observed Behavior

Markdown syntax is not rendering the same for 2 headings, even though they have the exact same syntax.

I've tried adding double spaces after the bolded text, which should make the next bullet line be on the next line. However, as you can see from the screenshots, if you do double spaces after the bolded headings, but make the bulleted line on the next line, the bullet points are no longer respected.

but if you skip a line, the bullet points are now respected, but the first heading skips a line when the 2nd heading doesn't. makes no sense.

This:
Image

Generates This:
Image

And this:
Image
Generates this:

Image

Metadata

Metadata

Assignees

Labels

severity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions