Filter "Fail with message" escaping double quotes in body

NinjaZevin

Registered
May 26, 2020
2
1
3
Saint vincent
cPanel Access Level
Root Administrator
I've set up a filter with a fail message, but double quotes are being escaped by backslash in the message body. E.g.

Fail with message: "Hi, \nThis is a "no reply" email."

User will see:
"Hi,
This is a \"no reply\" email."

It works fine with single quotes, but a backslash is being inserted before any double quotes. How do I insert double quotes in the fail with message text?
 
  • Like
Reactions: hmaddy

NinjaZevin

Registered
May 26, 2020
2
1
3
Saint vincent
cPanel Access Level
Root Administrator
Putting backslash before the double quotes doesn't work. It just inserts another backslash.

Fail with message: "Hi, \nThis is a \"no reply\" email."

User will see:
"Hi,
This is a \\"no reply\\" email."