1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

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

View file

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