# [./spec/render/array_attribute_spec.rb:15](../../../spec/render/array_attribute_spec.rb#L15) ## Input ```haml - h1 = {class: 'c1', id: ['id1', 'id3']} - h2 = {class: [{}, 'c2'], id: 'id2'} %span#main.content{h1, h2} hello ``` ## Faml, Haml ```html hello ``` ## Hamlit ```html hello ``` # [./spec/render/array_attribute_spec.rb:23](../../../spec/render/array_attribute_spec.rb#L23) ## Input ```haml %span.foo{class: "foo bar"} ``` ## Faml, Haml ```html ``` ## Hamlit ```html ``` # [./spec/render/array_attribute_spec.rb:23](../../../spec/render/array_attribute_spec.rb#L23) ## Input ```haml - v = "foo bar" %span.foo{class: v} ``` ## Faml, Haml ```html ``` ## Hamlit ```html ``` # [./spec/render/array_attribute_spec.rb:23](../../../spec/render/array_attribute_spec.rb#L23) ## Input ```haml - h = {class: "foo bar"} %span.foo{h} ``` ## Faml, Haml ```html ``` ## Hamlit ```html ``` # [./spec/render/array_attribute_spec.rb:35](../../../spec/render/array_attribute_spec.rb#L35) ## Input ```haml %span{class: []} ``` ## Faml ```html ``` ## Haml, Hamlit ```html ``` # [./spec/render/array_attribute_spec.rb:35](../../../spec/render/array_attribute_spec.rb#L35) ## Input ```haml - v = [] %span{class: v} ``` ## Faml ```html ``` ## Haml, Hamlit ```html ``` # [./spec/render/array_attribute_spec.rb:35](../../../spec/render/array_attribute_spec.rb#L35) ## Input ```haml - h = {class: []} %span{h} ``` ## Faml ```html ``` ## Haml, Hamlit ```html ``` # [./spec/render/array_attribute_spec.rb:41](../../../spec/render/array_attribute_spec.rb#L41) ## Input ```haml %span{class: [1, nil, false, true]} ``` ## Faml, Haml ```html ``` ## Hamlit ```html ``` # [./spec/render/array_attribute_spec.rb:41](../../../spec/render/array_attribute_spec.rb#L41) ## Input ```haml - v = [1, nil, false, true] %span{class: v} ``` ## Faml, Haml ```html ``` ## Hamlit ```html ``` # [./spec/render/array_attribute_spec.rb:41](../../../spec/render/array_attribute_spec.rb#L41) ## Input ```haml - h = {class: [1, nil, false, true]} %span{h} ``` ## Faml, Haml ```html ``` ## Hamlit ```html ``` # [./spec/render/array_attribute_spec.rb:61](../../../spec/render/array_attribute_spec.rb#L61) ## Input ```haml %span{id: []} ``` ## Faml ```html ``` ## Haml, Hamlit ```html ``` # [./spec/render/array_attribute_spec.rb:61](../../../spec/render/array_attribute_spec.rb#L61) ## Input ```haml - v = [] %span{id: v} ``` ## Faml ```html ``` ## Haml, Hamlit ```html ``` # [./spec/render/array_attribute_spec.rb:61](../../../spec/render/array_attribute_spec.rb#L61) ## Input ```haml - h = {id: []} %span{h} ``` ## Faml ```html ``` ## Haml, Hamlit ```html ``` # [./spec/render/array_attribute_spec.rb:67](../../../spec/render/array_attribute_spec.rb#L67) ## Input ```haml %span{id: [1, nil, false, true]} ``` ## Faml, Haml ```html ``` ## Hamlit ```html ``` # [./spec/render/array_attribute_spec.rb:67](../../../spec/render/array_attribute_spec.rb#L67) ## Input ```haml - v = [1, nil, false, true] %span{id: v} ``` ## Faml, Haml ```html ``` ## Hamlit ```html ``` # [./spec/render/array_attribute_spec.rb:67](../../../spec/render/array_attribute_spec.rb#L67) ## Input ```haml - h = {id: [1, nil, false, true]} %span{h} ``` ## Faml, Haml ```html ``` ## Hamlit ```html ```