sniemela/HamlPHP — Issue #14: HamlPHP ignores HAML's indendation and requires explicit `endif` instead
Author: johannesh
Created: 2012-01-18 20:13:03+00:00
State: open

*This* **should** render...

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

= 'Some other message'
```

... to:

```html

Some other message
```

**Instead** it renders to - well nothing for that matter - an error:

```
Parse error: syntax error, unexpected end of file in .../show_image.haml.cached.php on line 6
```

For your reference, here are the contents of show_image.haml.cached.php:

```php

$image)); ?>>

Image not found

```