diff --git a/autoload/zencoding/lang/html.vim b/autoload/zencoding/lang/html.vim index 731b0cd..37f75bb 100644 --- a/autoload/zencoding/lang/html.vim +++ b/autoload/zencoding/lang/html.vim @@ -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