Skip to content
Advertisement

Html2pdf doesn’t support word-break:break-all css

hai everybody i am using html2pdf ,it doesn’t support word-break:break-all css any idea?

example

   <td style="width:30%;word-break:break-all ;">
      testtestetstetstetstetstettstetstetstetstetstetstetstetstetstetstets
    </td>

output pdf take above 30% width like string length size

output pdf: testtestetstetstetstetstettstetstetstetstetstetstetstetstetstetstets

I want Output :

testtestetstetstetstetstettstets
tetstetstetstetstetstetstetstets

Advertisement

Answer

html2pdf does not support this word-break:break-all css

Ref: http://www.yaronet.com/en/posts.php?sl=&h=0&s=151321#0

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement