nex3/haml — Issue #450: Haml & Mustache syntax interpolation problems
Author: joshnesbitt
Created: 2011-10-29 14:39:48+00:00
State: open

Hi there,

I'm using Haml for generating some HTML templates for use with Handlebars JS, and it seems like there is an issue with the way in which Haml parses templates containing `{{` and `}}`.

A good example of this is when templating a link:

```
%a.routable.resource{ :href => "/apps/{{ ../app.id }}/resources/{{ id }}", :class => "resource-{{ id }}" } {{ type }}
```

You would expect:

```html
{{ type }}
```

However what is actually generated is:

```html
{{ type }}
```

Are the double mustaches messing with how the template is being parsed?

Cheers.
Josh