Home › Forums › General Issues › Forward slashes escaped in JSON › Reply To: Forward slashes escaped in JSON
This is how your cone is represented in JSON.
Do this somewhere echo json_encode('<h1>Some Text</h1>');
and you will see that the output is "<h1>Some Text<\/h1>"
special characters must be escaped in json
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.