Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attributes with empty string values are removed #4

Open
paulyoung opened this issue May 8, 2015 · 1 comment
Open

Attributes with empty string values are removed #4

paulyoung opened this issue May 8, 2015 · 1 comment
Labels

Comments

@paulyoung
Copy link
Contributor

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.

@paulyoung paulyoung added the bug label May 8, 2015
@forresto
Copy link

forresto commented Jun 4, 2015

if val?.length > 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants
@paulyoung @forresto and others