Export PDF renders code block incorrectly #427

Closed
opened 2017-07-07 07:02:21 +02:00 by ciphermenial · 1 comment
ciphermenial commented 2017-07-07 07:02:21 +02:00 (Migrated from github.com)

Bug Report

  • BookStack Version: 0.17.0
  • PHP Version: 7.0.19-1
  • MySQL Version: Ver 15.1 Distrib 10.1.23-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
Expected Behavior

Export PDF and the numbering for the code is displayed the same as in the app.

Actual Behavior

Export PDF and code does not have numbers listed and the section where the numbers should be is misaligned. See attached.

capture

### Bug Report * BookStack Version: 0.17.0 * PHP Version: 7.0.19-1 * MySQL Version: Ver 15.1 Distrib 10.1.23-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2 ##### Expected Behavior Export PDF and the numbering for the code is displayed the same as in the app. ##### Actual Behavior Export PDF and code does not have numbers listed and the section where the numbers should be is misaligned. See attached. ![capture](https://user-images.githubusercontent.com/1924904/27943740-b9467564-6320-11e7-9f8e-75bc56eaf307.PNG)
ssddanbrown commented 2017-07-10 22:11:11 +02:00 (Migrated from github.com)

@simplexion Thanks for reporting this. I'm afraid the line-numbers system is done with JavaScript so it's unlikely to get that to work for PDF exports bit the section dropping down like that should definitely be fixed. Marked as a bug to be fixed.

@simplexion Thanks for reporting this. I'm afraid the line-numbers system is done with JavaScript so it's unlikely to get that to work for PDF exports bit the section dropping down like that should definitely be fixed. Marked as a bug to be fixed.
Sign in to join this conversation.
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
bookstack/bookstack#427
No description provided.