I'm trying to use a single quote in success message of Account record action. The system add's an escape character in front of it. Escape character is shown in the success message. Any idea how to display it without backslash?

What I enter: enter image description here

What I get: enter image description here

The actual message: enter image description here

  • 3
    Looks like you may have found a bug in the implementation. Worth opening a case with Salesforce support.
    – Jayant Das
    Sep 17, 2018 at 17:12

2 Answers 2


I ran across a similar problem recently and opened a case with Salesforce. I was told that, right now, it isn't possible to use special characters in "Toasts", which is what the app is using to display the success message.

Take a look: https://developer.salesforce.com/blogs/developer-relations/2017/08/displaying-user-notifications-lightning-component-framework.html

Toasts...don't support HTML at all (characters are escaped).

  • Thanks for the answer Shane. I will just skip using special chars until their fix this. Sep 19, 2018 at 11:31

It is working for me. I used the single quote(’).

  • 2
    The landscape may have changed since this question was asked almost 5 years ago. This answer would be better if you found and included some documentation that explained when this issue was resolved.
    – Derek F
    Aug 23 at 11:23
  • I cannot find any documentation. But I recently implemented this and it is working. Sep 21 at 14:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .