Sha256: fdda8ab960b9f55643f5f1f2ec1bfd0229f4e0761de730d4cd6f3795731282f2

Contents?: true

Size: 989 Bytes

Versions: 5

Compression:

Stored size: 989 Bytes

Contents

# [./spec/render/hash_attribute_spec.rb:5](../../../spec/render/hash_attribute_spec.rb#L5)
## Input
```haml
%span{foo: {bar: 1+2}} hello
```

## Faml, Hamlit
```html
<span foo='{:bar=&gt;3}'>hello</span>

```

## Haml
```html
<span foo-bar='3'>hello</span>

```

# [./spec/render/hash_attribute_spec.rb:9](../../../spec/render/hash_attribute_spec.rb#L9)
## Input
```haml
- attrs = { foo: 1, bar: { hoge: :fuga }, baz: true }
%span{attrs} hello

```

## Faml
```html
<span bar='{:hoge=&gt;:fuga}' baz foo='1'>hello</span>

```

## Haml
```html
<span bar-hoge='fuga' baz foo='1'>hello</span>

```

## Hamlit
```html
<span bar='{:hoge=&gt;:fuga}' baz='true' foo='1'>hello</span>

```

# [./spec/render/hash_attribute_spec.rb:16](../../../spec/render/hash_attribute_spec.rb#L16)
## Input
```haml
- data = { foo: 1 }
%span{foo: {bar: "x#{1}y"}} hello

```

## Faml, Hamlit
```html
<span foo='{:bar=&gt;&quot;x1y&quot;}'>hello</span>

```

## Haml
```html
<span foo-bar='x1y'>hello</span>

```

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
faml-0.8.1 incompatibilities/spec/render/hash_attribute_spec.md
faml-0.8.0 incompatibilities/spec/render/hash_attribute_spec.md
faml-0.7.3 incompatibilities/spec/render/hash_attribute_spec.md
faml-0.7.2 incompatibilities/spec/render/hash_attribute_spec.md
faml-0.7.1 incompatibilities/spec/render/hash_attribute_spec.md