How to escape an HTML tag in the Invoice

Version v5.11.33

Environment Docker

Checklist

  • Can you replicate the issue on our v5 demo site https://demo.invoiceninja.com or Invoice Ninja? Yes
  • Have you searched existing issues? Yes
  • Have you inspected the logs in storage/logs/laravel.log for any errors? No

Describe the bug

HTML/XML tags are not being rendered as text in the Invoice PDF. We need to add <January><2025> as text in the invoice item name or description but it is being rendered as blank text in the PDF.
I tried creating a product with the name and description as <January><2025> but it is not showing in the PDF generated.
Also tried escaping it using &lt;January&gt;&lt;2025&gt; but the less than and greater than symbols are not being rendered as symbol but rather text only.

Steps To Reproduce

  1. Go to invoice ninja demo site https://react.invoicing.co/
  2. Create New Invoice
  3. Select any of the customer from the drop down
  4. Add an item in the invoice
  5. Select new product with name and description as <January><2025>
  6. Scroll down to see the invoice rendered
    Item and Description added to the Invoice:

Item and Description not showing in the PDF:

Expected Behavior

We should have option to escape html tags so that the text <January><2025> should be visible in the invoice generated.

Additional context

Screenshots

Logs

Hi,

I suggest asking in a discussion on GitHub

Okay, thanks will do.