smihica/emmet-mode — pull request #29 by flyingleafe (2014-08-05 09:07:04+00:00)
Title: Fixing improper block tags expansion

I considered using Emacs with emmet-mode to work with HTML yesterday, but after I tried to expand long nested div's abbreviation, I got a bit confused.

This abbreviation
```
.content>.row>.column.large-6`
```
expanded into
```html

|

```
while I expected it to be
```html

|

```
After some research, I found that this happens because `div` is, surprisingly, not a block tag by default. This has been done in order to resolve [issue #4](https://github.com/smihica/emmet-mode/issues/4). But IMHO it wasn't perfect solution.

I changed `emmet-make-html-tag` a bit, so now it breaks block tag in 2 lines only if tag contains inner HTML.
That means this
```
.abc
```
expands to this
```html

|

```
, this
```
div{Some text inside me!}
```
expands to this
```html

|Some text inside me!

```
while this
```
.a>.b>.c
```
expands to this
```html

|

```
which definitely makes sense.

Also I changed json2hash in more backwards-compatible way, because it was failing with parse error with my python 2.