YetiForceCRM icon indicating copy to clipboard operation
YetiForceCRM copied to clipboard

[bug] PDF engine: "alone" html break (BR) is not rendered

Open davide-alghi opened this issue 4 years ago • 0 comments

🐞 bug report

If, in PDF template, there is line with "alone" <br /> line is not rendered. if before <br /> there are no chars, the line is dropped just putting a non-breaking-space before BR, the line is rendered

here the PDF template 06_pdftemplate.zip

here the wrong result unrenderedBR.pdf

🔥 How to trigger the error

Steps to reproduce the behavior:

  1. upload the attached template
  2. open a sales invoice
  3. render the PDF

👎 Actual Behavior

alone-BR is not rendered

👍 Expected Behavior

BR rendered regardless

👷 Testing

  • [x] I confirm that I tested it at https://gitstable.yetiforce.com
  • [x] I confirm that I tested it at https://gitdeveloper.yetiforce.com

davide-alghi avatar Dec 21 '20 11:12 davide-alghi