incompatibilities/spec/render/array_attribute_spec.md in faml-0.7.0 vs incompatibilities/spec/render/array_attribute_spec.md in faml-0.7.1

- old
+ new

@@ -1,82 +1,5 @@ -# [./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 -<span class='c1 c2 content {}' id='main_id1_id3_id2'>hello</span> - -``` - -## Hamlit -```html -<span class='c1 content c2 {}' id='main_id1_id3_id2'>hello</span> - -``` - -# [./spec/render/array_attribute_spec.rb:23](../../../spec/render/array_attribute_spec.rb#L23) -## Input -```haml -%span.foo{class: "foo bar"} -``` - -## Faml, Haml -```html -<span class='bar foo'></span> - -``` - -## Hamlit -```html -<span class='foo bar foo'></span> - -``` - -# [./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 -<span class='bar foo'></span> - -``` - -## Hamlit -```html -<span class='foo foo bar'></span> - -``` - -# [./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 -<span class='bar foo'></span> - -``` - -## Hamlit -```html -<span class='foo foo bar'></span> - -``` - # [./spec/render/array_attribute_spec.rb:35](../../../spec/render/array_attribute_spec.rb#L35) ## Input ```haml %span{class: []} ``` @@ -129,66 +52,10 @@ ```html <span class=''></span> ``` -# [./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 -<span class='1 true'></span> - -``` - -## Hamlit -```html -<span class='1 false true'></span> - -``` - -# [./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 -<span class='1 true'></span> - -``` - -## Hamlit -```html -<span class='1 false true'></span> - -``` - -# [./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 -<span class='1 true'></span> - -``` - -## Hamlit -```html -<span class='1 false true'></span> - -``` - # [./spec/render/array_attribute_spec.rb:61](../../../spec/render/array_attribute_spec.rb#L61) ## Input ```haml %span{id: []} ``` @@ -238,64 +105,8 @@ ``` ## Haml, Hamlit ```html <span id=''></span> - -``` - -# [./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 -<span id='1_true'></span> - -``` - -## Hamlit -```html -<span id='1__false_true'></span> - -``` - -# [./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 -<span id='1_true'></span> - -``` - -## Hamlit -```html -<span id='1__false_true'></span> - -``` - -# [./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 -<span id='1_true'></span> - -``` - -## Hamlit -```html -<span id='1__false_true'></span> ```