Export to PDF / missing link icon in pdf file #4933

Open
opened 2026-02-05 09:27:18 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @conserve-cgn on GitHub (Aug 28, 2024).

Describe the Bug

A link in Bookstack has a link icon.
If you want to export a book or a page as a PDF and the book contains a link, the link icon is not exported. You will only see a rectangle instead of the link icon.

Normally the link icon should also be visible in the exported PDF file.

In my screenshot I show the Bookstack page and the exported PDF file of the page. Then you can see that the link icon was not exported.

Steps to Reproduce

  1. Select book or page
  2. Click on Export button on the right side
  3. Click on PDF File

Expected Behaviour

Normally the link icon should also be visible in the exported PDF file.

Screenshots or Additional Context

pdf-export

Browser Details

No response

Exact BookStack Version

v24.05.3

Originally created by @conserve-cgn on GitHub (Aug 28, 2024). ### Describe the Bug A link in Bookstack has a link icon. If you want to export a book or a page as a PDF and the book contains a link, the link icon is not exported. You will only see a rectangle instead of the link icon. Normally the link icon should also be visible in the exported PDF file. In my screenshot I show the Bookstack page and the exported PDF file of the page. Then you can see that the link icon was not exported. ### Steps to Reproduce 1. Select book or page 2. Click on Export button on the right side 3. Click on PDF File ### Expected Behaviour Normally the link icon should also be visible in the exported PDF file. ### Screenshots or Additional Context ![pdf-export](https://github.com/user-attachments/assets/be5a694c-f243-4434-9b84-e84dec095d84) ### Browser Details _No response_ ### Exact BookStack Version v24.05.3
OVERLORD added the 🐛 Bug label 2026-02-05 09:27:18 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Aug 28, 2024):

Hi @conserve-cgn,
I'm assuming this icon is defined via a customization since this is not something that's built into BookStack at all.
Capabilities of the PDF renderer are more limited, so not everything possible via CSS will show.

You could instead override the customization for export to not show anything, or show some kind of HTML glyph instead. If you want an example of that, provide a sample of the customization you have active and I'll look to provide relevant export specific CSS.

@ssddanbrown commented on GitHub (Aug 28, 2024): Hi @conserve-cgn, I'm assuming this icon is defined via a customization since this is not something that's built into BookStack at all. Capabilities of the PDF renderer are more limited, so not everything possible via CSS will show. You could instead override the customization for export to not show anything, or show some kind of HTML glyph instead. If you want an example of that, provide a sample of the customization you have active and I'll look to provide relevant export specific CSS.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#4933