haml/html2haml — pull request #12 by shreeve (2012-09-26 20:15:28+00:00)
Title: Properly format empty nodes on their own lines

## Original XML

``` xml

See Spot Run

1942

102

```

## Without patch

Notice "weight" and "pages" on the same line

``` haml
%book
%title See Spot Run
%year 1942
%color
%weight %pages 102
```
## With patch

Notice "weight" and "pages" cleaned up

``` haml
%book
%title See Spot Run
%year 1942
%color
%weight
%pages 102
```