incompatibilities/spec/render/attribute_spec.md in faml-0.3.1 vs incompatibilities/spec/render/attribute_spec.md in faml-0.3.2

- old
+ new

@@ -249,5 +249,65 @@ ```html <span a='1' b='1'></span> ``` +# [./spec/render/attribute_spec.rb:165](../../../spec/render/attribute_spec.rb#L165) +## Input +```haml +%span{"foo\0bar" => "hello"} +``` + +## Faml, Haml +```html +<span foobar='hello'></span> + +``` + +## Hamlit +```html +<span foo\0bar='hello'></span> + +``` + +# [./spec/render/attribute_spec.rb:165](../../../spec/render/attribute_spec.rb#L165) +## Input +```haml +- val = "hello" +%span{"foo\0bar" => val} + +``` + +## Faml, Haml +```html +<span foobar='hello'></span> + +``` + +## Hamlit +```html +<span foo\0bar='hello'></span> + +``` + +# [./spec/render/attribute_spec.rb:165](../../../spec/render/attribute_spec.rb#L165) +## Input +```haml +- key = "foo\0bar" +- val = "hello" +%span{key => val} + +``` + +## Faml, Haml +```html +<span foobar='hello'></span> + +``` + +## Hamlit (Error) +```html +(eval):3: syntax error, unexpected => +...::Temple::Utils.escape_html((=> val))); _buf << ("'></span>\... +... ^ +``` +