mustache / spec

The Mustache spec.
MIT License
361 stars 71 forks source link

Error in partials spec with HTML escaping? #107

Closed fletcher closed 5 years ago

fletcher commented 5 years ago

It seems this project is dead, but for others out there using it.

I think there is an error in the partials tests. Specifically, "Standalone Indentation" tests for:

 |
      \
       |
       <
      ->
       |
      /

but I think it should test for:

 |
      \
       |
       &lt;
      -&gt;
       |
      /

I think this would also be consistent with the "HTML Escaping" test from the interpolation suite.

fletcher commented 5 years ago

Oops -- I missed the triple-brace escaping.