incompatibilities/spec/render/attribute_spec.md in faml-0.3.3 vs incompatibilities/spec/render/attribute_spec.md in faml-0.3.4

- old
+ new

@@ -173,11 +173,11 @@ ```html <span foo-bar='3'>hello</span> ``` -# [./spec/render/attribute_spec.rb:138](../../../spec/render/attribute_spec.rb#L138) +# [./spec/render/attribute_spec.rb:139](../../../spec/render/attribute_spec.rb#L139) ## Input ```haml %span{data: {foo: 1, bar: 'baz', :hoge => :fuga, k1: { k2: 'v3' }}} hello ``` @@ -191,11 +191,11 @@ ```html <span data-foo='1' data-bar='baz' data-hoge='fuga' data-k1-k2='v3'>hello</span> ``` -# [./spec/render/attribute_spec.rb:146](../../../spec/render/attribute_spec.rb#L146) +# [./spec/render/attribute_spec.rb:147](../../../spec/render/attribute_spec.rb#L147) ## Input ```haml %span{data: {foo: 1, bar: 2+3}} hello ``` @@ -209,11 +209,11 @@ ```html <span data-foo='1' data-bar='5'>hello</span> ``` -# [./spec/render/attribute_spec.rb:150](../../../spec/render/attribute_spec.rb#L150) +# [./spec/render/attribute_spec.rb:151](../../../spec/render/attribute_spec.rb#L151) ## Input ```haml - data = { foo: 1, bar: 2 } %span{data: data} hello @@ -229,11 +229,11 @@ ```html <span data-foo='1' data-bar='2'>hello</span> ``` -# [./spec/render/attribute_spec.rb:168](../../../spec/render/attribute_spec.rb#L168) +# [./spec/render/attribute_spec.rb:169](../../../spec/render/attribute_spec.rb#L169) ## Input ```haml %span{b: __LINE__, a: __LINE__} @@ -249,59 +249,59 @@ ```html <span a='1' b='1'></span> ``` -# [./spec/render/attribute_spec.rb:175](../../../spec/render/attribute_spec.rb#L175) +# [./spec/render/attribute_spec.rb:176](../../../spec/render/attribute_spec.rb#L176) ## Input ```haml %span{"foo\0bar" => "hello"} ``` ## Faml, Haml ```html -<span foobar='hello'></span> +<span foo<0x00>bar='hello'></span> ``` ## Hamlit ```html <span foo\0bar='hello'></span> ``` -# [./spec/render/attribute_spec.rb:175](../../../spec/render/attribute_spec.rb#L175) +# [./spec/render/attribute_spec.rb:176](../../../spec/render/attribute_spec.rb#L176) ## Input ```haml - val = "hello" %span{"foo\0bar" => val} ``` ## Faml, Haml ```html -<span foobar='hello'></span> +<span foo<0x00>bar='hello'></span> ``` ## Hamlit ```html <span foo\0bar='hello'></span> ``` -# [./spec/render/attribute_spec.rb:175](../../../spec/render/attribute_spec.rb#L175) +# [./spec/render/attribute_spec.rb:176](../../../spec/render/attribute_spec.rb#L176) ## Input ```haml - key = "foo\0bar" - val = "hello" %span{key => val} ``` ## Faml, Haml ```html -<span foobar='hello'></span> +<span foo<0x00>bar='hello'></span> ``` ## Hamlit (Error) ```html