danfickle / danfickle/openhtmltopdf

white-space: pre-wrap is not working as expected when converting to pdf

Open
#670 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.2k
Forks
423
PR merge metrics
No merged PRs in 30d

Description

i have the below code in my html page, when opened as html page, it works fine but when generates the pdf, the spaces are sort of squished.

`

  • CA GL-20055 1 mtl: GOLD kt: 10 TWO TON

  • DI ROUND 16 cl/c: I3/I wgt: 0.0050/ MICRO PRON ppc: 360.00

  • DI ROUND 10 cl/c: I3/I wgt: 0.0140/ MICRO PRON ppc: 335.00

  • DI ROUND 1 cl/c: I3/I wgt: 0.1600/ PRONG ppc: 395.00

  • DI ROUND 10 cl/c: I3/I wgt: 0.0040/ MICRO PRON ppc: 360.00

  • DI ROUND 4 cl/c: I3/I wgt: 0.0030/ MICRO PRON ppc: 360.00

  • FS ... 1
  • `

    Contributor guide

    No contributing guide indexed for this repository

    Assessment

    This issue has not been assessed yet.

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.