From f99392847f19f368e12961ac96e8e5c66d20c2fb Mon Sep 17 00:00:00 2001 From: mattn Date: Sat, 6 Apr 2013 21:41:23 +0900 Subject: [PATCH] Fix checking attributs --- autoload/zencoding/lang/html.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/zencoding/lang/html.vim b/autoload/zencoding/lang/html.vim index fb58383..7e79300 100644 --- a/autoload/zencoding/lang/html.vim +++ b/autoload/zencoding/lang/html.vim @@ -321,7 +321,7 @@ function! zencoding#lang#html#toString(settings, current, type, inline, filters, if len(current_name) > 0 let str .= '<' . current_name for attr in current.attrs_order - if has_key(current.attr, attr) + if !has_key(current.attr, attr) continue endif let val = current.attr[attr]