This commit is contained in:
mattn
2013-04-06 21:44:27 +09:00
parent f99392847f
commit 62f0a02346
2 changed files with 8 additions and 2 deletions

View File

@@ -26,7 +26,10 @@ function! zencoding#lang#haml#toString(settings, current, type, inline, filters,
if len(current.name) > 0
let str .= '%' . current_name
let tmp = ''
for attr in keys(current.attr)
for attr in current.attrs_order
if !has_key(current.attr, attr)
continue
endif
let val = current.attr[attr]
if dollar_expr
while val =~ '\$\([^#{]\|$\)'

View File

@@ -25,7 +25,10 @@ function! zencoding#lang#slim#toString(settings, current, type, inline, filters,
endif
if len(current.name) > 0
let str .= current_name
for attr in keys(current.attr)
for attr in current.attrs_order
if !has_key(current.attr, attr)
continue
endif
let val = current.attr[attr]
if dollar_expr
while val =~ '\$\([^#{]\|$\)'