# [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:203](/spec/hamlit/engine/old_attributes_spec.rb#L203)
## 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:228](/spec/hamlit/engine/old_attributes_spec.rb#L228)
## Input
```haml
%a{title: "'"}
%a{title: "'\""}
%a{href: '/search?foo=bar&hoge='}
```
## Output
### Haml
```html
```
### Hamlit
```html
```
# [old\_attributes\_spec.rb:240](/spec/hamlit/engine/old_attributes_spec.rb#L240)
## Input
```haml
- title = "'\""
- href = '/search?foo=bar&hoge='
%a{title: title}
%a{href: href}
```
## Output
### Haml
```html
```
### Hamlit
```html
```
# [old\_attributes\_spec.rb:252](/spec/hamlit/engine/old_attributes_spec.rb#L252)
## Input
```haml
- title = { title: "'\"" }
- href = { href: '/search?foo=bar&hoge=' }
%a{ title }
%a{ href }
```
## Output
### Haml
```html
```
### Hamlit
```html
```