Skip to content

Commit

Permalink
Merge pull request #35 from cjerdonek/v1.0.3+interpolation-no-reinter…
Browse files Browse the repository at this point in the history
…polation

Add a test that interpolated content should not be re-interpolated
  • Loading branch information
jgonggrijp committed Apr 3, 2024
2 parents 6648085 + 6d518b7 commit 7138576
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions specs/interpolation.yml
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 7138576

Please sign in to comment.