You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While working on a Github action to send a release note to a Slack channel I saw that using the PostWebhook function causes the message to have weird characters in Slack due to the HTML escaping. For example, an apostrophe is converted to '.
Expected behavior
JSON marshaller only encodes the relevant characters as defined in the Slack documentation
Steps to reproduce
Send a webhook with an apostrophe in the body of the request. See that the resulting message has an HTML escaped symbol.
Not sure if this is the solution, but this is what I saw from a very shallow look at things. Please let me know if I can help in any way or if you'd like me to try and tackle this myself!
What happened
While working on a Github action to send a release note to a Slack channel I saw that using the
PostWebhook
function causes the message to have weird characters in Slack due to the HTML escaping. For example, an apostrophe is converted to'
.Expected behavior
JSON marshaller only encodes the relevant characters as defined in the Slack documentation
Steps to reproduce
Send a webhook with an apostrophe in the body of the request. See that the resulting message has an HTML escaped symbol.
reproducible code
manifest.yaml
Not sure what this is?
Versions
v0.12.3
The text was updated successfully, but these errors were encountered: