Fixed #98 pass to indent to html#toString()

This commit is contained in:
mattn
2013-04-24 20:43:15 +09:00
parent 7c1f881014
commit 6fd2031fa2
4 changed files with 16 additions and 10 deletions

View File

@@ -68,7 +68,7 @@ function! zencoding#lang#slim#toString(settings, current, type, inline, filters,
endfor
elseif len(current.child) > 0
for child in current.child
let inner .= zencoding#toString(child, type, inline, filters, itemno)
let inner .= zencoding#toString(child, type, inline, filters, itemno, indent)
endfor
let inner = substitute(inner, "\n", "\n" . escape(indent, '\'), 'g')
let inner = substitute(inner, "\n" . escape(indent, '\') . "$", "", 'g')