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

@@ -371,7 +371,7 @@ function! zencoding#lang#html#toString(settings, current, type, inline, filters,
let dr = 1
endif
endif
let inner = zencoding#toString(child, type, 0, filters, itemno)
let inner = zencoding#toString(child, type, 0, filters, itemno, indent)
let inner = substitute(inner, "^\n", "", 'g')
let inner = substitute(inner, "\n", "\n" . escape(indent, '\'), 'g')
let inner = substitute(inner, "\n" . escape(indent, '\') . '$', '', 'g')