Sha256: 7a1090c8a3ca17ddbd488cc315ae14efa9c6e1a887ff0a871e79cabe87d5c534

Contents?: true

Size: 1.07 KB

Versions: 10

Compression:

Stored size: 1.07 KB

Contents

# [new\_attribute\_spec.rb:19](/spec/hamlit/engine/new_attribute_spec.rb#L19)
## Input
```haml
%span(a=__LINE__
 b=__LINE__)
= __LINE__

```

## Output
### Haml
```html
<span a='1' b='1'></span>
3

```

### Hamlit
```html
<span a='1' b='2'></span>
3

```


# [new\_attribute\_spec.rb:31](/spec/hamlit/engine/new_attribute_spec.rb#L31)
## Input
```haml
%a(title="'")
%a(title = "'\"")
%a(href='/search?foo=bar&hoge=<fuga>')

```

## Output
### Haml
```html
<a title="'"></a>
<a title='&#x0027;"'></a>
<a href='/search?foo=bar&amp;hoge=&lt;fuga&gt;'></a>

```

### Hamlit
```html
<a title='&#39;'></a>
<a title='&#39;&quot;'></a>
<a href='/search?foo=bar&amp;hoge=&lt;fuga&gt;'></a>

```


# [new\_attribute\_spec.rb:43](/spec/hamlit/engine/new_attribute_spec.rb#L43)
## Input
```haml
- title = "'\""
- href  = '/search?foo=bar&hoge=<fuga>'
%a(title=title)
%a(href=href)

```

## Output
### Haml
```html
<a title='&#x0027;"'></a>
<a href='/search?foo=bar&amp;hoge=&lt;fuga&gt;'></a>

```

### Hamlit
```html
<a title='&#39;&quot;'></a>
<a href='/search?foo=bar&amp;hoge=&lt;fuga&gt;'></a>

```

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
hamlit-1.7.1 doc/haml/engine/new_attribute.md
hamlit-1.7.0 doc/haml/engine/new_attribute.md
hamlit-1.6.7 doc/haml/engine/new_attribute.md
hamlit-1.6.6 doc/haml/engine/new_attribute.md
hamlit-1.6.5 doc/haml/engine/new_attribute.md
hamlit-1.6.4 doc/haml/engine/new_attribute.md
hamlit-1.6.3 doc/haml/engine/new_attribute.md
hamlit-1.6.2 doc/haml/engine/new_attribute.md
hamlit-1.6.1 doc/haml/engine/new_attribute.md
hamlit-1.6.0 doc/haml/engine/new_attribute.md