New paragraph line breaks do not render in journal entry table comments #7952

Closed
opened 2025-12-29 20:30:26 +01:00 by adam · 1 comment
Owner

Originally created by @mattspera on GitHub (Apr 27, 2023).

Originally assigned to: @arthanson on GitHub.

NetBox version

v3.3.7

Python version

3.8

Steps to Reproduce

  1. Click on Devices in the side menu and then select Devices from the Devices submenu
  2. Click on a Device object and select the Journal tab
  3. Create a new journal entry and enter the following in the comments section:

image

Expected Behavior

The journal entry comments attribute within the device object's journal entry table should render a line break between the two paragraphs.

This behaviour is correctly demonstrated when clicking into the Journal Entry object and observing the Comments attribute:
image

Observed Behavior

The journal entry comments attribute within the device object's journal entry table does not render a line break between the two paragraphs:
image

Prior to the user interface updates in v3, the journal entry comments attribute within the device object's journal entry table would correctly render new paragraph line breaks.

Originally created by @mattspera on GitHub (Apr 27, 2023). Originally assigned to: @arthanson on GitHub. ### NetBox version v3.3.7 ### Python version 3.8 ### Steps to Reproduce 1. Click on **Devices** in the side menu and then select **Devices** from the Devices submenu 2. Click on a Device object and select the **Journal** tab 3. Create a new journal entry and enter the following in the comments section: ![image](https://user-images.githubusercontent.com/10584226/234857345-c35a767c-7ac6-45cc-9561-136015ff3b37.png) ### Expected Behavior The journal entry comments attribute within the device object's journal entry table should render a line break between the two paragraphs. This behaviour is correctly demonstrated when clicking into the Journal Entry object and observing the **Comments** attribute: ![image](https://user-images.githubusercontent.com/10584226/234858565-ba7a7460-6a8b-4ae0-a15c-96ecf66e286e.png) ### Observed Behavior The journal entry comments attribute within the device object's journal entry table does not render a line break between the two paragraphs: ![image](https://user-images.githubusercontent.com/10584226/234856787-8c8d63f1-10d7-4106-b02b-7d7ea9eee451.png) Prior to the user interface updates in v3, the journal entry comments attribute within the device object's journal entry table would correctly render new paragraph line breaks.
adam added the type: bugstatus: accepted labels 2025-12-29 20:30:26 +01:00
adam closed this issue 2025-12-29 20:30:27 +01:00
Author
Owner

@jeremystretch commented on GitHub (Apr 27, 2023):

The underlying rendering is functioning correctly, however we have CSS in place that removes the bottom margin from <p> elements within a table.

@jeremystretch commented on GitHub (Apr 27, 2023): The underlying rendering is functioning correctly, however we have CSS in place that removes the bottom margin from `<p>` elements within a table.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7952