Fix indentation
This commit is contained in:
parent
a3b179373c
commit
84c4d1998a
|
@ -8,7 +8,7 @@ template1 = '{% capture foobar %}foo{{ bar }}{% endcapture %}{{ foo }}{{ foobar
|
||||||
template2 = '{% assign foobar = "foo" | append: bar %}{{ foobar }}'
|
template2 = '{% assign foobar = "foo" | append: bar %}{{ foobar }}'
|
||||||
|
|
||||||
def render(template)
|
def render(template)
|
||||||
Liquid::Template.parse(template).render("bar" => "42")
|
Liquid::Template.parse(template).render("bar" => "42")
|
||||||
end
|
end
|
||||||
|
|
||||||
puts render(template1)
|
puts render(template1)
|
||||||
|
|
Loading…
Reference in New Issue