Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Works incorrectly with JSON schema #179

Open
grim-reapper opened this issue Jul 3, 2023 · 0 comments
Open

Works incorrectly with JSON schema #179

grim-reapper opened this issue Jul 3, 2023 · 0 comments

Comments

@grim-reapper
Copy link

I have google structured json data inside code, here is the json code

<script type = "application/ld+json" > {
    "@context": "https://schema.org",
    "@graph": [{
        "@type": "Organization",
        "url": "https://legal.com",
        "logo": "https://legal.com/img/logo.svg"
    }, {
        "@type": "Article",
        "url": "https://legal.com/ia/leasehold-conveyancing",
        "headline": "Leasehold conveyancing: process, timing and fees",
        "datePublished": "2023-05-25T11:51:50+05:00",
        "dateModified": "2023-05-25T00:00:00+05:00",
        "author": {
            "@type": "Organization",
            "name": "Net Lawman",
            "url": "https://legal.com"
        },
        "publisher": {
            "url": "https://legal.com",
            "name": "Net Lawman"
        },
        "copyrightYear": "2023",
        "copyrightHolder": {
            "url": "https://legal.com",
            "name": "Net Lawman"
        }
    }]
} </script>

the problem is the dns prefetch middleware rendering URLs from Json schema incorrectly. I'm attaching image how it's being rendered.

image

graph, publisher and name should not be in link tag. hope it will be fixed soon. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant