Make blank? default to false for all tags to maintain backwards compatible

This commit is contained in:
Florian Weingarten
2013-09-23 08:43:26 -04:00
parent 322ecca145
commit 2efe809e11
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ module Liquid
end
def blank?
@blank || true
@blank || false
end
def parse_with_selected_parser(markup)
+3
View File
@@ -29,6 +29,9 @@ module Liquid
''
end
def blank?
true
end
end
Template.register_tag('assign', Assign)