forked from VimPlug/emmet-vim
Fixes #139
This commit is contained in:
@@ -288,7 +288,11 @@ function! emmet#lang#html#parseIntoTree(abbr, type)
|
||||
let cls = []
|
||||
for c in range(n[1:])
|
||||
for cc in cl
|
||||
let cc.basevalue = c + 1
|
||||
if cc.multiplier > 1
|
||||
let cc.basedirect = c + 1
|
||||
else
|
||||
let cc.basevalue = c + 1
|
||||
endif
|
||||
endfor
|
||||
let cls += deepcopy(cl)
|
||||
endfor
|
||||
|
||||
@@ -596,6 +596,10 @@ finish
|
||||
'query': "dl>(dt{$}+dd)*3",
|
||||
'result': "<dl>\n\t<dt>1</dt>\n\t<dd></dd>\n\t<dt>2</dt>\n\t<dd></dd>\n\t<dt>3</dt>\n\t<dd></dd>\n</dl>\n",
|
||||
},
|
||||
{
|
||||
'query': "(div[attr=$]*3)*3",
|
||||
'result': "<div attr=\"1\"></div>\n<div attr=\"2\"></div>\n<div attr=\"3\"></div>\n<div attr=\"1\"></div>\n<div attr=\"2\"></div>\n<div attr=\"3\"></div>\n<div attr=\"1\"></div>\n<div attr=\"2\"></div>\n<div attr=\"3\"></div>\n",
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user