Skip to content

Itemprop-Attribute in LudwigQRCode #3

@sebastian-marinescu

Description

@sebastian-marinescu

Hi MoonMaker,
really nice plugin you got there!

As I am checking my site, I am getting an error from the validator:

The itemprop attribute was specified, but the element is not a property of any item.

Checking your Chunk-Template, I can see you rendering it:

itemprop="[[+itemprop]]"

Buy why?

I checked: there is no qrcode-property available, except for ticket-reservations – is that why you have it in there? If so, I understand, but I need it gone in my code, as I am reaching for validity :)

Are you open to an PR?

I would check if [[+itemprop]] exists, and if not, or its an empty string, then omit this attribute.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions