Don't discard leading whitespace on Haml templates.

This commit is contained in:
Nathan Weizenbaum 2008-04-18 10:09:33 -07:00
parent 3be12bcc37
commit 740d6afb8c
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ Use the locals option for Haml::Engine#render instead.
END END
end end
@template = template.strip #String @template = template.rstrip #String
@to_close_stack = [] @to_close_stack = []
@output_tabs = 0 @output_tabs = 0
@template_tabs = 0 @template_tabs = 0