Skip to content

Booleanish behaviour of attributes like crossorigin not supported #447

Open
@farnabaz

Description

@farnabaz

Version

v2.9.2

Reproduction link

https://codesandbox.io/s/codesandbox-nuxt-hm0ch

Steps to reproduce

When creating a new link with crossorigin value, and setting its value to true, attribute renders with value.
View page source and search for crossorigin

What is expected ?

Boolean attributes should not have value

<link crossorigin>

What is actually happening?

Boolean attributes renders with value

<link crossorigin="true">
This bug report is available on Nuxt community (#c9719)

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