Shopify/liquid — pull request #103 by Soleone (2012-02-29 20:17:34+00:00)
Title: Ensure for-loop on an empty string does not enter for-body.

Ruby 1.8 compatibility fix

Best shown at the following example Liquid content:

{% for something in '' %}I AM NOT BEING OUTPUT{% endfor %}

Old broken behavior without this commit:

`I AM NOT BEING OUTPUT` was inserted into the template

New behavior with this commit (this is the same behavior as running Shopify on Ruby 1.8):

Nothing is inserted into the template

Please review @burke @kristianpd