Markdown code fence renders wrong in journal entry #10141

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

Originally created by @llamafilm on GitHub (Aug 26, 2024).

Deployment Type

NetBox Enterprise

NetBox Version

v4.0.8

Python Version

3.12

Steps to Reproduce

  1. Create a new journal entry on a device with a code fence.

Expected Behavior

Each line of code should be rendered the same

Observed Behavior

The first line of code has one space extra indent.

Example code
image
image
image

Originally created by @llamafilm on GitHub (Aug 26, 2024). ### Deployment Type NetBox Enterprise ### NetBox Version v4.0.8 ### Python Version 3.12 ### Steps to Reproduce 1. Create a new journal entry on a device with a code fence. ### Expected Behavior Each line of code should be rendered the same ### Observed Behavior The first line of code has one space extra indent. Example code <img width="376" alt="image" src="https://github.com/user-attachments/assets/76551950-f5cc-42c8-89e0-a2f08c50da99"> <img width="369" alt="image" src="https://github.com/user-attachments/assets/d3c4497c-be35-40f2-8268-ba42076c51fa"> ![image](https://github.com/user-attachments/assets/bf4be04f-6a3f-4a6a-bbec-603ea3976a3a)
adam added the type: bugstatus: duplicate labels 2025-12-29 21:27:25 +01:00
adam closed this issue 2025-12-29 21:27:26 +01:00
Author
Owner

@jeremystretch commented on GitHub (Aug 26, 2024):

This is a duplicate of bug #17064 and has been fixed in NetBox v4.0.9.

@jeremystretch commented on GitHub (Aug 26, 2024): This is a duplicate of bug #17064 and has been fixed in NetBox v4.0.9.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10141