From 7a34c9090aaf48ebe8b57781da5245435e3bf8a5 Mon Sep 17 00:00:00 2001 From: Dawn Minion Date: Thu, 21 Nov 2019 14:03:09 +0100 Subject: [PATCH] Escape < and > with </> --- templates/components/scenarios.tmpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/components/scenarios.tmpl b/templates/components/scenarios.tmpl index 4f87771f..183ecfa0 100755 --- a/templates/components/scenarios.tmpl +++ b/templates/components/scenarios.tmpl @@ -113,7 +113,9 @@
<%= step.keyword %> - <%= step.name %> + <% if(step.name) { %> + <%= step.name.replace(//g, '>') %> + <% } %> <% if(suite.displayDuration) { %> <% if (step.time) { %> <%= step.time %>