Hi everyone,
I find myself with the following problem and I would like to know if this rings a bell to anyone:
The metadata values I set in the frontmatter of any page ends up with wrongly escaped quotes when the page is rendered.
Here is a sample of the metadata section from my page’s frontmatter:
metadata:
'og:title': Page's Title with quote
'og:site_name': Site's name with quote
And here is what I get in the rendered page:
<meta property="og:title" content="Page&apos;s Title with quote" />
<meta property="og:site_name" content="Site&apos;s name with quote" />
It looks like the quote is transformed as “'” and then the “&” is escaped as “&”.
I never had any issue with rendering quotes from other frontmatter values until now.
I’m pretty sure I am missing something obvious.
I’m running Grav v1.7.41.1 and here is my list of activated plugins (all up to date):
- Breadcrumbs
- Error
- Flex Objects
- Pagination
- Problems
- Shortcode Core
- Simplesearch
- Taxonomy List
Did anyone already encounter this kind of issue?
Any pointer to debug this would be much appreciated