Sha256: d61b6e4130b9d8a449dc6c9a15102cc1287459b656e7976da00c6459cd8bfe55

Contents?: true

Size: 1.14 KB

Versions: 1

Compression:

Stored size: 1.14 KB

Contents

# [./spec/render/element_spec.rb:63](../../../spec/render/element_spec.rb#L63)
## Input
```haml
%.foo
```

## Faml (Error)
```html
Invalid element declaration
```

## Haml (Error)
```html
Invalid tag: "%.foo".
```

## Hamlit
```html
< class='foo'></>

```

# [./spec/render/element_spec.rb:84](../../../spec/render/element_spec.rb#L84)
## Input
```haml
- @var = '</span>'
%span
  hello <span> #@var </span>

```

## Faml
```html
<span>
hello <span> &lt;/span&gt; </span>
</span>

```

## Haml, Hamlit
```html
<span>
hello <span> #@var </span>
</span>

```

# [./spec/render/element_spec.rb:117](../../../spec/render/element_spec.rb#L117)
## Input
```haml
%p/ hello
```

## Faml (Error)
```html
Self-closing tags can't have content
```

## Haml (Error)
```html
Self-closing tags can't have content.
```

## Hamlit
```html
<p>

```

# [./spec/render/element_spec.rb:121](../../../spec/render/element_spec.rb#L121)
## Input
```haml
%p/
  hello

```

## Faml (Error)
```html
Illegal nesting: nesting within a self-closing tag is illegal
```

## Haml (Error)
```html
Illegal nesting: nesting within a self-closing tag is illegal.
```

## Hamlit
```html
<p>
hello
</p>

```

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
faml-0.2.14 incompatibilities/spec/render/element_spec.md