fix indent for wrapped text.

This commit is contained in:
mattn
2012-06-20 12:41:40 +09:00
parent 57754d9506
commit c1ce62261f

View File

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