Skip to content

Attributes with empty string values are removed #4

@paulyoung

Description

@paulyoung

In the-grid/taylor#42 @bergie has requested that we add a meta tag, like so:

<meta name="the-grid-solution" content="" />

The following:

$ "meta", { name: "the-grid-solution", content: "" }

produces:

<meta name="the-grid-solution" />

I can work around it by using:

$ "meta", { name: "the-grid-solution", content: " " }

or:

"""
<meta name="the-grid-solution" content="" />
"""

I can add a spec if this is confirmed as a bug.

Metadata

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