I have an object, part of which look like this:
"value": {
"Some property": [
{
"tag": "<script async defer data-domain=\"example.com\" src=\"example.com/somePage.js\"></script>",
"type": "script"
}
]
},
And right after "tag":
I got an error:
Uncaught SyntaxError: Invalid or unexpected token
I have no idea why I'm getting this error. Seems like I can't enter html tags as property value, but how should I define it then?