mattn / emmet-vim

emmet for vim: http://emmet.io/
http://mattn.github.io/emmet-vim
MIT License
6.41k stars 411 forks source link

Multiple curly braces in content #369

Open urosi opened 7 years ago

urosi commented 7 years ago

If I write something like:

div{{{Test}}}

it expands to:

<div></div>
{Test}}

I would expect the same behaviour as on emmet.io:

<div>{{Test}}</div>
davidbruce commented 7 years ago

I'm having the same problem.

Attempted: pre{{{data | json}}}

Expected: <pre>{{date | json }}</pre>

Recieved: <pre></pre> {data | json }}

mattn commented 7 years ago

This is difficult to handle brackets if the Test is string literal like "}".