This commit is contained in:
mattn
2013-08-12 22:18:11 +09:00
parent 9791571ff4
commit 222c509447

View File

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