defunkt/pystache — Issue #88: Partials Are HTML escaped if a section is in the template
Author: bricef
Created: 2012-02-15 13:05:18+00:00
State: open

## Steps to reproduce

Take the following templates:

`partial.mustache`

Hello, I'm a partial. {{a}}

`middle_nosection.mustache`

{{> partial }}
hello, I'm the middle without a section

`middle_section.mustache`

{{> partial }}
hello, I'm the middle with a section
{{#b}}
* {{n}}
{{/b}}

run pystache against both templates, and inspect the output:

## Output

Hello, I'm a partial 123

hello, I'm the middle without a section

For the section:

<h2> Hello, I'm a partial 123 </h2>

hello, I'm the middle with a section
* 1
* 2

## Expected
That both partials are rendered the same way (no escaping)