Skip to content

Conversation

@thetwopct
Copy link

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.

2021-09-30-102627

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.

2021-09-30-102920

I'm keeping track of a JSON array, and I noticed the new_value was being saved with slashes

This fixes that issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant