fix indent.

This commit is contained in:
mattn
2012-06-28 22:10:44 +09:00
parent c55e379172
commit e1e79f3d25

View File

@@ -397,7 +397,7 @@ function! zencoding#lang#html#imageSize()
endif
let current.attr.width = width
let current.attr.height = height
let html = zencoding#toString(current, 'html', 1)
let html = substitute(zencoding#toString(current, 'html', 1), '\n', '', '')
call zencoding#util#setContent(img_region, html)
endfunction
@@ -527,7 +527,6 @@ function! zencoding#lang#html#balanceTag(flag) range
let pos1 = searchpos(mx, 'bW')
let content = matchstr(getline(pos1[0])[pos1[1]-1:], mx)
let tag_name = matchstr(content, '^<\zs[a-zA-Z0-9:_\-]*\ze')
echo tag_name
if stridx(','.settings.html.empty_elements.',', ','.tag_name.',') != -1
let pos2 = searchpos('>', 'nW')
else