lib/faml/attribute_compiler.rb in faml-0.6.4 vs lib/faml/attribute_compiler.rb in faml-0.6.5
- old
+ new
@@ -54,11 +54,9 @@
def compile_static_attribute(key, value)
case
when value == true
[:haml, :attr, key, [:multi]]
- when value == false || value.nil?
- [:multi]
else
[:haml, :attr, key, [:static, Temple::Utils.escape_html(value)]]
end
end