Bad escape sequence in string
-
Google Search Console identified a “Bad escape sequence in string” error from the script generated by Event Schema. Additionally it says, “items with this issue are invalid. Invalid items are not eligible for Google Search’s rich results.”
I’m using Events Manager for my events, and I have a Location that includes a single quote, but it is being converted to a ' character. Therefore, this is appearing in my script:
“location”:{“name”:”My Company\'s Name”}
instead of like this:
“location”:{“name”:”My Company’s Name”}
I believe the \' (and maybe the backslash specifically) is causing the error. Can you fix that within the plugin? Thanks!
You must be logged in to reply to this topic.