Revert "Merge pull request #325 from Shopify/remove-variable-incomplete-end"

That pull request broke raw tags with open variable tags. E.g.

{% raw %}
{{
{% endraw %}
{{ 1 }}

This reverts commit fbaabf3b59, reversing
changes made to af24d2c2ab.
This commit is contained in:
Dylan Thacker-Smith
2014-03-24 09:59:07 -04:00
parent d1bfda15e3
commit fdf03076e0
5 changed files with 18 additions and 24 deletions
-4
View File
@@ -201,8 +201,4 @@ class VariableResolutionTest < Test::Unit::TestCase
def test_multiline_variable
assert_equal 'worked', Template.parse("{{\ntest\n}}").render!('test' => 'worked')
end
def test_quoted_single_curly_braces
assert_template_result "{user}", "{{ variable | prepend: '{' | append: '}' }}", 'variable' => 'user'
end
end # VariableTest