Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When referencing via variables, the HTML content of the group note field is delivered with <div> <a href> #5174

Open
Suhopoljac opened this issue May 16, 2024 · 0 comments

Comments

@Suhopoljac
Copy link
Collaborator

Used Zammad Version

6.3.1 develop

Environment

  • Installation method: any
  • Operating system: any
  • Database + version: any
  • Elasticsearch version: any
  • Browser + version: MS Edge v.124.0.2478.97 (64-Bit)

Actual behaviour

If the group note field (with HTML link) is referenced via the variable #{ticket.group.note} and the output is sent via trigger action by e-mail, the output delivers something like this:

Placeholder

<a href="http://www.google.com/maps" title="http://www.google.com/maps.

Meanwhile, the output is slightly different when using the article variables (also in plain text -> #{article.body})

Platzhalter
[1] https://www.google.com/maps

[1] https://www.google.com/maps

Expected behaviour

I would expect analogous behavior to the article variable in plain text or having an additional variable so that the content is also displayed in HTML (f.e. something like #{ticket.group.note_as_html})

Steps to reproduce the behaviour

  1. Fill the group note field with content and at least one link.
  2. Create a trigger that sends an email referenced by a group.note variable.
  3. The following output is delivered:
image

Referencing the same content via article.body variable:

image

Support Ticket

Ticket#10155025

I'm sure this is a bug and no feature request or a general question.

yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants