fix #155: escape response text

This commit is contained in:
httprunner
2018-07-30 14:42:47 +08:00
parent 46fe256418
commit 3d5656e7c0

View File

@@ -288,7 +288,7 @@
{% if value == "image" %}
<img src="{{ record.meta_data.response.content }}" />
{% else %}
<pre>{{ record.meta_data.response.text }}</pre>
<pre>{{ record.meta_data.response.text | e }}</pre>
{% endif %}
{% else %}
{{value}}