diff --git a/specs/interpolation.json b/specs/interpolation.json index d758657..427a1b4 100644 --- a/specs/interpolation.json +++ b/specs/interpolation.json @@ -19,6 +19,16 @@ "template": "Hello, {{subject}}!\n", "expected": "Hello, world!\n" }, + { + "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.",