mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-26 13:45:13 -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
|
end
|
||||||
|
|
||||||
def blank?
|
def blank?
|
||||||
@blank || true
|
@blank || false
|
||||||
end
|
end
|
||||||
|
|
||||||
def parse_with_selected_parser(markup)
|
def parse_with_selected_parser(markup)
|
||||||
|
|||||||
@@ -29,6 +29,9 @@ module Liquid
|
|||||||
''
|
''
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def blank?
|
||||||
|
true
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
Template.register_tag('assign', Assign)
|
Template.register_tag('assign', Assign)
|
||||||
|
|||||||
Reference in New Issue
Block a user