mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-16 17:30:43 -07:00
Fix regex for matching endraw tags
This commit is contained in:
@@ -12,6 +12,8 @@ class RawTagTest < Minitest::Test
|
||||
|
||||
def test_output_in_raw
|
||||
assert_template_result('{{ test }}', '{% raw %}{{ test }}{% endraw %}')
|
||||
assert_template_result('test', '{% raw %}test{% endraw{% f %}')
|
||||
assert_template_result('test', '{% raw %}test{% endraw{% |f %}')
|
||||
end
|
||||
|
||||
def test_open_tag_in_raw
|
||||
|
||||
Reference in New Issue
Block a user