Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Add a test that interpolated content should not be re-interpolated #35

wants to merge 1 commit into from

1 participant


This is basically the same as the test case of issue #32, but for basic (non-section) tags.

@cjerdonek cjerdonek referenced this pull request from a commit in cjerdonek/mustache-spec
@cjerdonek cjerdonek Merge remote-tracking branch 'v1.0.3+interpolation-no-reinterpolation…
…' into development

See issue #35: mustache#35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 8, 2012
  1. @cjerdonek
This page is out of date. Refresh to see the latest.
Showing with 6 additions and 0 deletions.
  1. +6 −0 specs/interpolation.yml
6 specs/interpolation.yml
@@ -34,6 +34,12 @@ tests:
expected: |
Hello, world!
+ - name: No Re-interpolation
+ desc: Interpolated tag output should not be re-interpolated.
+ data: { template: '{{planet}}', planet: 'Earth' }
+ template: '{{template}}: {{planet}}'
+ expected: '{{planet}}: Earth'
- name: HTML Escaping
desc: Basic interpolation should be HTML escaped.
data: { forbidden: '& " < >' }
Something went wrong with that request. Please try again.