christopherdro / react-native-html-to-pdf

Convert html strings to PDF documents using React Native
MIT License
435 stars 269 forks source link

Using # in the HTML creates PDF in blank #208

Closed SentenciaSQL closed 3 years ago

SentenciaSQL commented 3 years ago

Using the character # at any point of the HTML makes the PDF to be in blank, is any workaround for this?

balwinders commented 3 years ago

I faced the same issue and couldn't find any workaround. I had to remove the # character from HTML. Though this happened on the Android Platform only. The iOS seems to be working fine with the # character.

sundardsTechMind commented 3 years ago

I'm also facing PDF Blank issue if I use Android API Level 28 it's working fine if i upgrade to API Level 29 it's getting failed Issue: Blank Page & App crash Please help me if any update

Thanks in advance

sundardsTechMind commented 3 years ago

Fixed this issue It's only coming for android 10 API Level 29 Add this Design For PDF paddingLeft: 10, paddingRight:10, paddingTop:10, paddingBottom:10, padding:10,

michtnt commented 3 years ago

@sundardsTechMind your solution doesn't work in mine, can I see the options you add on the RNHTMLtoPDF.convert({options}) if that's okay? Thanks :)

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.