From 96a1ab4f57c8fca059b3d0bfb7399de1ead4497f Mon Sep 17 00:00:00 2001 From: debugtalk Date: Thu, 20 Sep 2018 19:17:06 +0800 Subject: [PATCH] fix #155: escape validators --- httprunner/templates/report_template.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/httprunner/templates/report_template.html b/httprunner/templates/report_template.html index 79bf2c0e..62b8a208 100644 --- a/httprunner/templates/report_template.html +++ b/httprunner/templates/report_template.html @@ -315,11 +315,11 @@ {% elif validator.check_result == "unchecked" %} {% endif %} - {{validator.check}} + {{validator.check | e}} {{validator.comparator}} - {{validator.expect}} - {{validator.check_value}} + {{validator.expect | e}} + {{validator.check_value | e}} {% endfor %}