mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-15 23:07:07 +08:00
Unique attribute names. close #119
This commit is contained in:
@@ -26,7 +26,7 @@ function! zencoding#lang#haml#toString(settings, current, type, inline, filters,
|
||||
if len(current.name) > 0
|
||||
let str .= '%' . current_name
|
||||
let tmp = ''
|
||||
for attr in current.attrs_order
|
||||
for attr in zencoding#util#unique(current.attrs_order)
|
||||
if !has_key(current.attr, attr)
|
||||
continue
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user