Skip to content

OpenGraph::addProperty on array omits "og" in property name  #246

@schrink

Description

@schrink

What steps will reproduce the problem?

OpenGraph::addProperty('locale:alternate', ['en_GB', 'el_EL']);

What is the expected result?

<meta property="og:locale:alternate" content="en_GB" />
<meta property="og:locale:alternate" content="el_EL" />

What do you get instead?

<meta property=":locale:alternate" content="en_GB" />
<meta property=":locale:alternate" content="el_EL" />

Additional info

Q A
This Package Version 0.20.0
Laravel Framework Version 8.34.0
PHP version 8.03
Operating system MacOs

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions