Skip to content

fix: open graph breaks when tag value is numeric #563

@Aareksio

Description

@Aareksio

🐛 The bug

useSeoMeta({
  ogImageWidth: 200,
});

When item.value is numeric, item.value.match is not a function at

:href="item.value.match(/^https?:\/\//) ? item.value : undefined"

Results in broken "Tags" section:
Screenshot 2024-01-07 at 22 56 52

🛠️ To reproduce

https://stackblitz.com/edit/github-gqikj7

🌈 Expected behavior

Tab not breaking :)

Screenshot 2024-01-07 at 22 58 22

ℹ️ Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions