Open EMH333 opened 4 years ago
Currently ', - and " will get sanatized when outputting to the SEO JSON. Should use https://gohugo.io/functions/htmlescape/ to fix it.
I believe this is fixed. Hugo treats ld+json as javascript so for it to properly (not) escape it, just remove the quotes, so
"url": "{{ .url }}",
becomes
"url": {{ .url }},
Currently ', - and " will get sanatized when outputting to the SEO JSON. Should use https://gohugo.io/functions/htmlescape/ to fix it.