google-fonts icon indicating copy to clipboard operation
google-fonts copied to clipboard

HTML validation error - Attribute "crossorigin" should omit value

Open cwaldvonderlahr opened this issue 2 years ago • 3 comments

Hey Nuxt Community,

first thanks for this very nice google fonts module.

In the last days I worked with the Nuxt HTML Validator (https://html-validator.nuxtjs.org/) and I got the error: HTML validation error - Attribute "crossorigin" should omit value.

Is it possible to change crossorigin="" to crossorigin="anonymous" ? (Source: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/crossorigin)

Thanks for short feedback. Christian

cwaldvonderlahr avatar Sep 15 '21 10:09 cwaldvonderlahr

Hi @cwaldvonderlahr I will fix it soon

ricardogobbosouza avatar Mar 30 '22 21:03 ricardogobbosouza

Hello, Any news on this issue ? I'm facing this issue too with html-to-image.

LucasCtrl avatar Jul 22 '22 12:07 LucasCtrl

+1 I have the same problem with the package html-to-image, crossorigin attribute needs to be customized https://github.com/bubkoo/html-to-image/issues/207#issuecomment-1010680144

weblabio avatar Sep 07 '22 13:09 weblabio

Please try v3.0.0-1

https://github.com/nuxt-community/google-fonts-module/blob/main/src/module.ts#L134 https://github.com/nuxt-community/google-fonts-module/blob/main/src/module.ts#L206

ricardogobbosouza avatar Oct 25 '22 14:10 ricardogobbosouza

If the problem persists, please reopen

ricardogobbosouza avatar Oct 27 '22 11:10 ricardogobbosouza