# [old\_attributes\_spec.rb:43](/spec/hamlit/engine/old_attributes_spec.rb#L43)
## Input
```haml
%span{ class: '}}}', id: '{}}' } }{
```
## Output
### Haml
```html
Haml::SyntaxError: (haml):1: syntax error, unexpected tSTRING_DEND, expecting ')'
...l, class: ')}>}}', id: '{}}' } }{\n";;_erbout
... ^
(haml):1: unterminated regexp meets end of file
```
### Hamlit
```html
}{
```
# [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
%a{ href: val }
- val = nil
%a{ href: val }
/ Boolean attributes are escaped correctly.
- val = false
%a{ disabled: val }
- val = nil
%a{ disabled: val }
```
## Output
### Haml
```html
```
### Hamlit
```html
```
# [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='}
```
## Output
### Haml
```html
```
### Hamlit
```html
```
# [old\_attributes\_spec.rb:238](/spec/hamlit/engine/old_attributes_spec.rb#L238)
## Input
```haml
- title = "'\""
- href = '/search?foo=bar&hoge='
%a{title: title}
%a{href: href}
```
## Output
### Haml
```html
```
### Hamlit
```html
```
# [old\_attributes\_spec.rb:250](/spec/hamlit/engine/old_attributes_spec.rb#L250)
## Input
```haml
- title = { title: "'\"" }
- href = { href: '/search?foo=bar&hoge=' }
%a{ title }
%a{ href }
```
## Output
### Haml
```html
```
### Hamlit
```html
```