barryvdh / laravel-dompdf

A DOMPDF Wrapper for Laravel
MIT License
6.7k stars 966 forks source link

Is it possible to indent within html? #1029

Closed take0fit closed 8 months ago

take0fit commented 8 months ago

Hi. My project uses laravel-dompdf library with laravel10.Is there a way to indent in HTML file for pdf generation?

Currently, the code is indented as shown below.

 <p>&nbsp;&nbsp;&nbsp;&nbsp;<span>hogehoge</span><p>

I know you are busy, but I would appreciate it if you could reply.

parallels999 commented 8 months ago

https://github.com/barryvdh/laravel-dompdf/blob/424a223ce80e7afc8bfb6e84449679efe272fbb5/.github/ISSUE_TEMPLATE/bug_report.md?plain=1#L10-L12

This is just a Dompdf wrapper! I understand that this package is just a Laravel wrapper for https://github.com/dompdf/dompdf Any issues with PDF rendering, CSS that is not applied correctly, aligning/fonts/characters/images/html etc that are not directly related to this package, should be reported there. When having doubts, please try to reproduce the issue with just dompdf. If it's also present there, do not open an issue here please.