Skip to content

Attribute with no value is being stripped from output #82

@mattymess

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?

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