Skip to content

Commit

Permalink
Merge remote-tracking branch 'v1.0.3+interpolation-no-reinterpolation…
Browse files Browse the repository at this point in the history
…' into development

See issue mustache#35: mustache#35
  • Loading branch information
cjerdonek committed May 2, 2012
2 parents 2671130 + 6d518b7 commit ad86636
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions specs/interpolation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,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: '& " < >' }
Expand Down

0 comments on commit ad86636

Please sign in to comment.