madskristensen / HtmlTools

A Visual Studio extension
Other
8 stars 6 forks source link

'prefix' attribute on <head> for Open Graph is missing - bug #4

Open coliff opened 6 years ago

coliff commented 6 years ago

I have latest version of HTML Tools (1.0.3) with Visual Studio 2017 (latest build - 15.4.5). I get the following validation error in my HTML on all of my <meta property="og: tags:

Warning The 'prefix' attribute on <head> for Open Graph is missing

The prefix="og: http://ogp.me/ns#" attribute is on the html like <html lang="en" prefix="og: http://ogp.me/ns#"> as is recommended at: http://ogp.me/ - so I think this is a bug.

DoomerDGR8 commented 6 years ago

Having the same issue here. I do realize that the warning is pointing to the instead of tag. My is already set as

sekmenhuseyin commented 5 years ago

<head prefix="og: http://ogp.me/ns#"> not in html tag

hungvxforthewin commented 4 years ago

<head prefix="og: http://ogp.me/ns#"> not in html tag

tks