Skip to content

Attribute with no value is being stripped from output #82

Description

@mattymess

To preface this issue, it's an AngularJS template, which is why I have the attribute with no value.

Given the following HAML...

.col-sm-4.center-block
  %div(ui-view)

...or given this...

.col-sm-4.center-block
  %div{"ui-view" => ""}

...outputs...

<div class=\"col-sm-4 center-block\"><div></div></div>

I want the output to be:

<div class=\"col-sm-4 center-block\"><div ui-view></div></div>

Is this a bug or am I missing some option that I need to pass when I render?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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