When I use placeholders in google chat message notifications, I have the problem that the placeholder of "description" and "hyperlink" show the HTML tag.
As mentioned in the "Message" field's tooltip, only plain text is supported for now for GoogleChat, so you should try $this->description$ as it will convert the content of the HTML description into plain text.
Hope it helps,
Guillaume
🎉
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hello,
When I use placeholders in google chat message notifications, I have the problem that the placeholder of "description" and "hyperlink" show the HTML tag.
It can be seen in the image, any way to solve it?
What place holder did you use for hyperlink?
You might want to use url rather than hyperlink - https://www.itophub.io/wiki/page?id=latest:admin:placeholders
As for the description... It is a HTML field.
Have you played around with
$this->html(description)?Hi Jeffrey, thanks for responding
Checking, I was using the wrong placeholder, $this->url$ and the correct one is $this->url()$
As for the description I have used the following placeholder for that and none of them work for me:
Hello Vladimyr,
As mentioned in the "Message" field's tooltip, only plain text is supported for now for GoogleChat, so you should try
$this->description$as it will convert the content of the HTML description into plain text.Hope it helps,
Guillaume