handle name={{width: 300px}}

close #377
This commit is contained in:
Yasuhiro Matsumoto
2017-06-22 22:31:36 +09:00
parent aa801bc9b7
commit 94261d6515

View File

@@ -280,7 +280,7 @@ function! emmet#lang#html#parseIntoTree(abbr, type) abort
endif
else
while len(atts)
let amat = matchstr(atts, '^\s*\zs\([0-9a-zA-Z-:]\+\%(="[^"]*"\|=''[^'']*''\|=[^ ''"]\+\|[^ ''"\]]*\)\{0,1}\)')
let amat = matchstr(atts, '^\s*\zs\([0-9a-zA-Z-:]\+\%(={{.\{-}}}\|="[^"]*"\|=''[^'']*''\|=[^ ''"]\+\|[^ ''"\]]*\)\{0,1}\)')
if len(amat) == 0
break
endif