davidmiller/pony-mode — pull request #72 by ryuslash (2013-04-04 18:19:46+00:00)
Title: Indent fix

These changes fix two cases for me:

1. Some inconsisency with indentation depending on the location of the
cursor, for example (with | as the cursor position):

```html
{% if sometest %}

say something

{% endif %}|
```

With the cursor in that position it will indent as:

```html
{% if sometest %}

say something

{% endif %}
```

But with the cursor at the beginning of the line it will indent
correctly.

2. Using the wrong indentation for certain strangely structured tags.
Where an couple of elements should look like this:

```html

```

Come out looking like:

```html

```

Please let me know what you think.