Replace the double quotation marks around the link with a single quotation mark
-
Hi,
I am getting unparsable syntax errors on the google structured data testing tool, with URLs or images as objects when I have 2 quotes like
"https://url"
, in the schema, we need a single'https://url'
quote to avoid errors.If the JSON-LD is “text” as an object.
How can I get this achieved on the classic WYSIWYG Editor, with a function maybe esc_url, or preg_replace
If I go to the editor’s text option and do it manually that makes it again to
"https://url"
I am using AMP Standard Mode, I don’t need to use any plugins to do this and can’t live without classic WYSIWYG Editor, maybe using CLE Editor has solved this but its a pain to use it.
Kindly Help me.
Thanks
The page I need help with: [log in to see the link]
- The topic ‘Replace the double quotation marks around the link with a single quotation mark’ is closed to new replies.