cesarvr / pdf-generator

Cordova plugin to generate pdf in the client-side
MIT License
107 stars 61 forks source link

Fix for setting correct content in page on second print #35

Closed rastafan closed 7 years ago

rastafan commented 7 years ago

This commit fixes a behaviour on Android where printing the same HTML content before and after a small edit resulted in printing the first version both times. It happened mostly on pages with a Base64 Image embedded on top. This appears to solve the problem.

Tested on Samsung Galaxy Tab A - Android 6.0.1

cesarvr commented 7 years ago

awesome, thks.