Line does not break for very long inline code elements (information loss in html and pdf export) #1234

Closed
opened 2026-02-05 00:21:14 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @Zaptro on GitHub (Jun 23, 2019).

Describe the bug
I use inline codes for ssh commands that can become very long. Viewing them in the web view the code line sometimes extends out of the content area and adds a horizontal scrollbar which looks a bit odd, but no information is lost. But exporting to pdf or html simply cuts off the lines (tested with current version BookStack Beta v0.26.2).

Steps To Reproduce
Steps to reproduce the behavior:

  1. Switch on Inline Code format and type in a very long line.
  2. Export to html or pdf.

Expected behavior
I expected that the inline element would break the line at width of the web view content area and continue in the next line. The next line the grey background should maybe not have a vertical line at the beginning (left border of the box), indicating that this is still the same line of code. The same behaviour should happen in the html or pdf export file.

Your Configuration (please complete the following information):

  • BookStack Beta v0.26.2
Originally created by @Zaptro on GitHub (Jun 23, 2019). **Describe the bug** I use inline codes for ssh commands that can become very long. Viewing them in the web view the code line sometimes extends out of the content area and adds a horizontal scrollbar which looks a bit odd, but no information is lost. But exporting to pdf or html simply cuts off the lines (tested with current version BookStack Beta v0.26.2). **Steps To Reproduce** Steps to reproduce the behavior: 1. Switch on Inline Code format and type in a very long line. 2. Export to html or pdf. **Expected behavior** I expected that the inline element would break the line at width of the web view content area and continue in the next line. The next line the grey background should maybe not have a vertical line at the beginning (left border of the box), indicating that this is still the same line of code. The same behaviour should happen in the html or pdf export file. **Your Configuration (please complete the following information):** - BookStack Beta v0.26.2
OVERLORD added the 🐛 Bug🎨 Design💻 Front-End labels 2026-02-05 00:21:14 +03:00
Author
Owner

@james-geiger commented on GitHub (Aug 9, 2019):

@Zaptro See issue #1575 for a possible solution and provide feedback there as these seem at least tangentially related.

@james-geiger commented on GitHub (Aug 9, 2019): @Zaptro See issue #1575 for a possible solution and provide feedback there as these seem at least tangentially related.
Author
Owner

@ssddanbrown commented on GitHub (Oct 17, 2019):

This has been fixed as part of #1587. That fix will be in the next feature release so I will therefore close this issue.

@ssddanbrown commented on GitHub (Oct 17, 2019): This has been fixed as part of #1587. That fix will be in the next feature release so I will therefore close this issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#1234