Filter "Fail with message" escaping double quotes in body
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?
-
I'd assume you'd want to use regex for that How to represent the double quotes character (") in regex? 0 -
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." 0
Please sign in to leave a comment.
Comments
2 comments