Markdown tables squashed when exporting book to PDF #1057

Open
opened 2026-02-04 23:38:23 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @critchtionary on GitHub (Feb 21, 2019).

Describe the bug
When exporting an entire book to PDF, table columns are squashed (similar to #203, but that seems to have only fixed exporting a single page.

Steps To Reproduce
Steps to reproduce the behavior:

  1. Set Page Editor to Markdown
  2. Create a page with the following table:
| Column 1  | Column 2  | Column 3 |  
|---|---|---|  
| A | B  | C |  
| 1 | 2 | 3 |  
  1. Export the page to PDF
  2. Export the book to PDF
  3. Table in book export is squashed

Expected behavior
Table in book export should match that in page export

Screenshots
Page in web browser:
bookstack1

Page PDF export
bookstack2

Book PDF export
bookstack3
If applicable, add screenshots to help explain your problem.

Your Configuration (please complete the following information):

  • Exact BookStack Version (Found in settings): v0.24.2
  • Hosting Method (Nginx/Apache/Docker): Docker

Additional context
None

Originally created by @critchtionary on GitHub (Feb 21, 2019). **Describe the bug** When exporting an entire book to PDF, table columns are squashed (similar to #203, but that seems to have only fixed exporting a single page. **Steps To Reproduce** Steps to reproduce the behavior: 1. Set Page Editor to Markdown 2. Create a page with the following table: ``` | Column 1 | Column 2 | Column 3 | |---|---|---| | A | B | C | | 1 | 2 | 3 | ```` 3. Export the page to PDF 4. Export the book to PDF 5. Table in book export is squashed **Expected behavior** Table in book export should match that in page export **Screenshots** Page in web browser: ![bookstack1](https://user-images.githubusercontent.com/12222103/53185101-40fc1500-35f6-11e9-948f-e05c79b9ed8c.png) Page PDF export ![bookstack2](https://user-images.githubusercontent.com/12222103/53185103-40fc1500-35f6-11e9-9053-5c4bedbcfb03.png) Book PDF export ![bookstack3](https://user-images.githubusercontent.com/12222103/53185104-4194ab80-35f6-11e9-96fc-b5d01b4f9c81.png) If applicable, add screenshots to help explain your problem. **Your Configuration (please complete the following information):** - Exact BookStack Version (Found in settings): v0.24.2 - Hosting Method (Nginx/Apache/Docker): Docker **Additional context** None
OVERLORD added the 🐛 Bug🎨 Design🏭 Back-End🚚 Export System labels 2026-02-04 23:38:23 +03:00
Author
Owner

@JtheBAB commented on GitHub (Mar 1, 2019):

What happen if you try this? --> #1294

@JtheBAB commented on GitHub (Mar 1, 2019): What happen if you try this? --> #1294
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#1057