ee2-rest icon indicating copy to clipboard operation
ee2-rest copied to clipboard

Strip backslashes?

Open sam327 opened this issue 11 years ago • 0 comments

Is there a function to strip backslashes from results? The json query I'm using returns all apostrophes and special characters with a backslash in front of them like this: "Joe's" and, of course, I'd like those stripped out.

I'm using Low's Replace as a workaround - wrap the entire exp:rest block with this:

{exp:low_replace find="\\" regex="yes"}

But, obviously, I'd prefer that Rest do it.

sam327 avatar Jan 02 '14 15:01 sam327