Skip to content

Escaping problem with meta tags #2006

@Balamir

Description

@Balamir

Hi,

I'm facing an issue with meta tags. When I use some special characters like single quote in the head tag, it's escaping. I can not use dangerouslySetInnerHtml for meta tags.

in code:
<meta name="description" content="That's it!" />

result:
<meta name="description" content="That&#x27;s it!" />

How can I handle with this? I couldn't find any solution about this problem.

Thanks.

Metadata

Metadata

Assignees

Labels

UpstreamRelated to using Next.js with a third-party dependency. (e.g., React, UI/icon libraries, etc.).

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions