Fix imageSize

This commit is contained in:
mattn
2013-04-06 22:58:20 +09:00
parent bc5903d69c
commit f08061ec20
3 changed files with 5 additions and 0 deletions

View File

@@ -421,6 +421,7 @@ function! zencoding#lang#html#imageSize()
let current.attr.height = height
let current.attrs_order += ['width', 'height']
let html = substitute(zencoding#toString(current, 'html', 1), '\n', '', '')
let html = substitute(html, '\${cursor}', '', '')
call zencoding#util#setContent(img_region, html)
endfunction