diff --git a/semantic-kernel/concepts/prompts/handlebars-prompt-templates.md b/semantic-kernel/concepts/prompts/handlebars-prompt-templates.md
index 2315e4c5..187072c9 100644
--- a/semantic-kernel/concepts/prompts/handlebars-prompt-templates.md
+++ b/semantic-kernel/concepts/prompts/handlebars-prompt-templates.md
@@ -63,11 +63,11 @@ string template = """
Make sure to reference the customer by name response.
- {% for item in history %}
-
- {{item.content}}
-
- {% endfor %}
+ {{#each history}}
+
+ {{this.content}}
+
+ {{/each}}
""";
// Input data for the prompt rendering and execution