Light grey text in helpdesk message

Infos:

  • Used Zammad version: v.6.5
  • Used Zammad installation type: source
  • Operating system: Windows 11 (Business-Editionen), Version 22H2 de-de x64
  • Browser + version: FireFox 138.0.1

Expected behavior:

  • text color is the same between Zammad online Editor and the helpdesk messages

Actual behavior:

  • In the Zammad online Editor the text is “plain” but everything has the same color.

In the helpdesk email, the text or individual words appear in light gray font. We don’t know when and why this happens. It appears for different users. Since we get everything displayed “normally” in the Zammad online editor, we cannot proactively work around this.

Steps to reproduce the behavior:

  • unknown - it appears approx. on 1 to 2 helpdesk mails per day
1 Like

I believe this is caused by some of the HTML-formatting in your emails. In your mail-to-ticket setup, are you able to convert mails to plain text before a ticket gets created? Can you try requesting the ticket body by using the api and see if there’s some weird markup in there? (curl -u username:password https://yourHost/api/v1/ticket_articles/by_ticket/{ticket_id})

I’ve just seen the same thing with one of our emails. I checked the page source and it shows:

<div class="richtext-content">JC,<div>
<span style="color: rgb(219, 219, 220);">ARTICLE BODY</span><div>Respectfully,</div>
<div>Jordan</div>
</div></div>

I’m at a bit of a loss here as to where the color code inline CSS is coming from, I don’t even think there is a way to set text color via Zammad shortcut keys, correct? My only idea is either a browser plugin is causing it or the user copy and pasted the text from somewhere, but the later is not an option as they claim they did not.

Any ideas?

it sound like you are facing this bug Display error of copied text in dark mode · Issue #5589 · zammad/zammad · GitHub
We also have this issue, when pasting something from the clipboard into the ticket. My personal workaround is to STRG + SHIFT +V so the text is pasted without any formating.

2 Likes

today I noticed, that this is not only happening when pasting a text. It also happens (from time to time), when using text modules. I don’t know exactly how we can reproduce it, but I suspect that this time it was due to too many new lines

We got the same issue. I already blamed my colleagues that they do not copy&paste without formatting but it happens also when using text modules. v6.5.0-1746002457.c775dc83.bullseye

Yes, because someone copied HTML content in there :slight_smile:

That’s the obvious answer and I had thought of that but it doesn’t seem to be the cause. The formatting is done randomly, at least from my point of view not reproducible, and sometimes from (unformatted) text modules as well as manually written text. I can send ticket examples (privately). If I’m not mistaken, this unwanted formatting has only occurred recently.

I have now been able to reproduce the problem in a scenario and it seems to be related to: Text Modules get inline HTML color formatting added when added to the same line as entered text in dark mode · Issue #5574 · zammad/zammad · GitHub

In our case, it happens when you insert a URL in the ticket text (formatted or unformatted doesn’t matter) and then insert a text module on the same line.

1 Like