-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
List elements don't get converted correctly from using html function #2922
Comments
Seems like html2canvas uses Unicode symbols for the bullets that are not in the ASCII range. You need to add a custom font for this. |
So if I understand correctly we need custom fonts to use |
I haven't looked into details, but judging from the image, it's true that you need a custom font for the bullets. You can try using a different version of html2canvas. Could you maybe search through the sources of html2canvas and verify my theory? |
@noobling Were you able to solve this issue with a custom font? I have the same issue. |
Partly if you rollback html2canvas to a specific version. Idk the version and I've left that company now so... |
This issue is stale because it has been open 90 days with no activity. It will be closed soon. Please comment/reopen if this issue is still relevant. |
This was probably fixed in 2.3.0: #3062. Can someone confirm please? |
const print = () => { not converting correctly in latest version any one please @HackbrettXXX |
|
@mahamedh not fixed |
the issue still exists |
When using
ul
element and calling.html()
function to convert that into a pdf it fails refer to the screenshot.Browser: Chrome Version 85.0.4183.121 (Official Build) (64-bit)
Here is example code to repro:
The text was updated successfully, but these errors were encountered: