Static GitHub Issues

[910] Generate self-closing tags for meta elements

prev: Callback on rendered to disconnect socket
next: Middleware for specific route

Upon generating meta tags for Open Graph Protocol, we ran into a situation where some crawler/parsers may be sensitive to the fact that the generated meta tags are not closed. I am working with a LinkedIn tech on this right now as their crawler is picky and wants closed tags (or self-closing tags)

So this is preferred:

<meta data-n-head="true" content="My content" property="og:description" />

Versus what Nuxt generates:

<meta data-n-head="true" content="My content" property="og:description">

Maybe there is a setting somewhere that I'm missing and this isn't an issue. Let me know. Thx!

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c786">#c786</a>)</em></sub></div>