Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(pdf): Remove extra blank link in custom footer (getlago#1854)
## Context An organisation can choose to display a custom text block on invoices. ## Description With this change, we'll ensure the all the blank line before and after the last lines are removed. We'll also remove extra blank lines. ### Example #### CONFIG <img width="1021" alt="Screenshot 2024-04-08 at 14 05 30" src="https://github.com/getlago/lago-api/assets/1525636/e44acb32-fede-404b-9f69-5fe7e6704a2f"> #### BEFORE <img width="851" alt="Screenshot 2024-04-08 at 13 58 00" src="https://github.com/getlago/lago-api/assets/1525636/890b58b4-735b-442b-b843-7efee1a6dff2"> #### AFTER <img width="855" alt="Screenshot 2024-04-08 at 13 58 57" src="https://github.com/getlago/lago-api/assets/1525636/a19971ee-1013-42fc-9419-e1f1971bf188">
- Loading branch information