doc/engine/old_attributes.md in hamlit-1.5.9 vs doc/engine/old_attributes.md in hamlit-1.6.0
- old
+ new
@@ -24,10 +24,37 @@
<span class='}}}' id='{}}'>}{</span>
```
+# [old\_attributes\_spec.rb:124](/spec/hamlit/engine/old_attributes_spec.rb#L124)
+## Input
+```haml
+.foo{ class: ['bar'] }
+.foo{ class: ['bar', nil] }
+.foo{ class: ['bar', 'baz'] }
+
+```
+
+## Output
+### Haml, Hamlit
+```html
+<div class='bar foo'></div>
+<div class='bar foo'></div>
+<div class='bar baz foo'></div>
+
+```
+
+### Faml
+```html
+<div class='bar foo'></div>
+<div class=' bar foo'></div>
+<div class='bar baz foo'></div>
+
+```
+
+
# [old\_attributes\_spec.rb:201](/spec/hamlit/engine/old_attributes_spec.rb#L201)
## Input
```haml
/ wontfix: Non-boolean attributes are not escaped for optimization.
- val = false
@@ -61,8 +88,108 @@
<a href='false'></a>
<a href=''></a>
<!-- Boolean attributes are escaped correctly. -->
<a></a>
<a></a>
+
+```
+
+
+# [old\_attributes\_spec.rb:226](/spec/hamlit/engine/old_attributes_spec.rb#L226)
+## Input
+```haml
+%a{title: "'"}
+%a{title: "'\""}
+%a{href: '/search?foo=bar&hoge=<fuga>'}
+
+```
+
+## Output
+### Haml
+```html
+<a title="'"></a>
+<a title=''"'></a>
+<a href='/search?foo=bar&hoge=<fuga>'></a>
+
+```
+
+### Faml, Hamlit
+```html
+<a title='''></a>
+<a title=''"'></a>
+<a href='/search?foo=bar&hoge=<fuga>'></a>
+
+```
+
+
+# [old\_attributes\_spec.rb:238](/spec/hamlit/engine/old_attributes_spec.rb#L238)
+## Input
+```haml
+- title = "'\""
+- href = '/search?foo=bar&hoge=<fuga>'
+%a{title: title}
+%a{href: href}
+
+```
+
+## Output
+### Haml
+```html
+<a title=''"'></a>
+<a href='/search?foo=bar&hoge=<fuga>'></a>
+
+```
+
+### Faml, Hamlit
+```html
+<a title=''"'></a>
+<a href='/search?foo=bar&hoge=<fuga>'></a>
+
+```
+
+
+# [old\_attributes\_spec.rb:250](/spec/hamlit/engine/old_attributes_spec.rb#L250)
+## Input
+```haml
+- title = { title: "'\"" }
+- href = { href: '/search?foo=bar&hoge=<fuga>' }
+%a{ title }
+%a{ href }
+
+```
+
+## Output
+### Haml
+```html
+<a title=''"'></a>
+<a href='/search?foo=bar&hoge=<fuga>'></a>
+
+```
+
+### Faml, Hamlit
+```html
+<a title=''"'></a>
+<a href='/search?foo=bar&hoge=<fuga>'></a>
+
+```
+
+
+# [old\_attributes\_spec.rb:273](/spec/hamlit/engine/old_attributes_spec.rb#L273)
+## Input
+```haml
+%span{ data: { disable: true } } bar
+
+```
+
+## Output
+### Haml, Hamlit
+```html
+<span data-disable>bar</span>
+
+```
+
+### Faml
+```html
+<span data-disable='true'>bar</span>
```