sniemela/HamlPHP — Issue #15: HamlPHP renders wrongly indented HTML
Author: johannesh
Created: 2012-01-18 20:16:53+00:00
State: open

```haml
- if ($image != null)
%img{:src => $image}
- else
Image not found
```

**Should** render to:

```html

```

**Instead** it renders to:

```html

```

The snippet not only bears the original indentation but additionally HamlPHP introduces two white-spaces between the `img` tag and its `src` attribute.