diff --git a/lib/liquid/tokenizer.rb b/lib/liquid/tokenizer.rb index c7f9a7b..d6aef88 100644 --- a/lib/liquid/tokenizer.rb +++ b/lib/liquid/tokenizer.rb @@ -66,9 +66,6 @@ module Liquid s = S_VAR output << current current = t - elsif t == T_VAR_OPEN && s == S_TAG - s = S_VAR - current += t elsif t == T_SIN_QUOT && s == S_TAG s = S_TAG_SIN current += t diff --git a/test/integration/tags/assign_tag_test.rb b/test/integration/tags/assign_tag_test.rb index 107f257..84e0c06 100644 --- a/test/integration/tags/assign_tag_test.rb +++ b/test/integration/tags/assign_tag_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class AssignTagTest < Minitest::Test @@ -14,5 +16,4 @@ class AssignTagTest < Minitest::Test def test_liquid_issue_701 assert_template_result(" contents: _{% endraw %}_", "{% assign endraw = '{% endraw %}' %} contents: _{{endraw}}_") end - -end \ No newline at end of file +end