0

Add Raw Version of ##lang.ticket.content## Without Images for Notifications

Zekura hace 7 horas 0

Dear GLPI Team,

I hope this message finds you well.

As a regular user of GLPI, I’d like to suggest an enhancement to the notification template system. Currently, the variable ##lang.ticket.content## includes the full HTML content of a ticket, including tags. While this is useful in some contexts, it can be problematic in email notifications where embedded images may disrupt formatting or aren't necessary.

Would it be possible to introduce an alternative variable—such as ##lang.ticket.content_raw## or ##lang.ticket.content_text##—that provides a plain-text version of the ticket content, stripped of HTML tags and especially image elements?

This would not only improve readability and flexibility when designing cleaner notifications, but also help reduce the size of outgoing emails—saving valuable space on mail servers and improving overall delivery performance.

Thank you for considering this request. I’d be happy to provide further context or examples if needed.

Best regards,

Zouheir