Don't discard leading whitespace on Haml templates.
This commit is contained in:
parent
3be12bcc37
commit
740d6afb8c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue