mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-06 18:54:27 +08:00
Fixes #140
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user