I'm keeping track of a JSON array, and I noticed the new_value was being saved with slashes. This was then being output on the frontend.
I started messing with running new_value through a custom stripslashes function in blade files but seemed easier to just amend the package.
I used stripslashes on new_value in postSave() and it solves the problem. We've been running this for a while and haven't see anything else have issues because of this change.
I'm keeping track of a JSON array, and I noticed the
new_value
was being saved with slashes. This was then being output on the frontend.I started messing with running
new_value
through a custom stripslashes function in blade files but seemed easier to just amend the package.I used
stripslashes
onnew_value
inpostSave()
and it solves the problem. We've been running this for a while and haven't see anything else have issues because of this change.