Skip to content
This repository has been archived by the owner on Jan 2, 2023. It is now read-only.

HTML page turns completely white/empty #5293

Open
mateusfmello opened this issue Dec 28, 2022 · 0 comments
Open

HTML page turns completely white/empty #5293

mateusfmello opened this issue Dec 28, 2022 · 0 comments

Comments

@mateusfmello
Copy link

wkhtmltopdf version(s) affected:

0.12.6 (with patched qt)


OS information

Also tested within docker

NAME="Linux Mint"
VERSION="19.1 (Tessa)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 19.1"
VERSION_ID="19.1"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.linuxmint.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=tessa
UBUNTU_CODENAME=bionic

Description

When trying to convert this HTML page ( link ) to PDF the result is blank / empty

This is the output from the terminal:

root@mateus-pc:/tmp# wkhtmltopdf http://f1bratelecom.com.br/p/inv?sd=iEs9lYET9WF%2FclABZLYEOsn7AUdbJqI%3D ./fibra.pdf 
Loading pages (1/6)
Counting pages (2/6)                                               
Resolving links (4/6)                                                       
Loading headers and footers (5/6)                                           
Printing pages (6/6)
Done                                                                      
root@mateus-pc:/tmp# 

How to reproduce

Run this command wkhtmltopdf http://f1bratelecom.com.br/p/inv?sd=iEs9lYET9WF%2FclABZLYEOsn7AUdbJqI%3D ./fibra.pdf

Open the output file and note that it will be completely empty/blank


Expected behavior

That the HTML page was converted to HTML completely as displayed in browsers

Captura de tela de 2022-12-28 14-51-01


Possible Solution

I believe the problem is due to the HTML being rendered by Angular

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant