Open galopin opened 10 months ago
Thanks.
charSet
was fixed it seems.og:title
and og:description
properties in the elements pane, but when you check the page here those properties seem to be there.We will investigate the duplicate meta tags and links.
See also this old but still relevant post: The Open Graph and Sharing Tags
One thing that seemed silly was the duplication of the article description. Since these use different attributes, I decided to try combining them onto a single element. At first, this didn't work. Twitter wouldn't pull in the description.
<meta property="og:description"
name="description"
content="…" />
By specifying the property attribute before the name attribute, the Twitter Card validator was pulling in the description. Other Open Graph validators also seem to be okay with this approach.
Describe the bug
This is a mild issue but it ought to be reported.
A few months ago, I noticed something weird at the DOM level with metadata and link elements in Observable notebooks… It has not been corrected since and I can replicate it consistently.
Some metadata and external resource link elements are duplicated while others are stripped!?
To Reproduce
For example, open the Arc diagram notebook.
Check notebook HTML code in Sources pane:
<head>
element in Elements pane:Expected behavior
I expect the output of metadata to be roughly the same between the HTML source code and DOM rendition!?