Skip to content

link rel= detection misses some links #22

Open
@tmcw

Description

I think this is the code that's looking for a rel=me twitter account:

const match2 = html.match(

My website does have such a meta tag, but it's all HTML5'd out - uses optional quotes and an implied self-closing tag, so this doesn't get caught:

<link href=https://mastodon.social/@tmcw rel=me>

Probably this is one of the more tricky variations to catch, but ideally different attribute order is okay with shovel's parser.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions