diff --git a/httprunner/templates/default_report_template.html b/httprunner/templates/default_report_template.html index 821f361b..ccae9cad 100644 --- a/httprunner/templates/default_report_template.html +++ b/httprunner/templates/default_report_template.html @@ -207,7 +207,7 @@
{{ record.meta_data.request_body | safe }}
+ {{ record.meta_data.request_body }}
{{ record.meta_data.response_body | safe }}
+ {{ record.meta_data.response_body }}
{% endif %}
diff --git a/httprunner/templates/extent_report_template.html b/httprunner/templates/extent_report_template.html
index 27e28abb..e9ab26d9 100644
--- a/httprunner/templates/extent_report_template.html
+++ b/httprunner/templates/extent_report_template.html
@@ -218,7 +218,7 @@
{{ record.meta_data.response_body | safe }}
+ {{ record.meta_data.response_body }}
{% endif %}