mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-12 23:40:45 -07:00
Make blank? default to false for all tags to maintain backwards compatible
This commit is contained in:
+1
-1
@@ -31,7 +31,7 @@ module Liquid
|
||||
end
|
||||
|
||||
def blank?
|
||||
@blank || true
|
||||
@blank || false
|
||||
end
|
||||
|
||||
def parse_with_selected_parser(markup)
|
||||
|
||||
@@ -29,6 +29,9 @@ module Liquid
|
||||
''
|
||||
end
|
||||
|
||||
def blank?
|
||||
true
|
||||
end
|
||||
end
|
||||
|
||||
Template.register_tag('assign', Assign)
|
||||
|
||||
Reference in New Issue
Block a user