summaryrefslogtreecommitdiffstats
path: root/templates/txt.jinja2
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2022-02-21 16:25:57 +0000
committerjwansek <eddie.atten.ea29@gmail.com>2022-02-21 16:25:57 +0000
commit3e5d53b94cb535071ee0e4135de0f7d191cf26dc (patch)
treec84b0b8a739afc4d9480af061ce642b046751b0b /templates/txt.jinja2
parentc54a8630faa8e1c597d598bf7497d724efb0fb18 (diff)
downloadSmarker-3e5d53b94cb535071ee0e4135de0f7d191cf26dc.tar.gz
Smarker-3e5d53b94cb535071ee0e4135de0f7d191cf26dc.zip
removed \rs for cross platform compatibility
Diffstat (limited to 'templates/txt.jinja2')
-rw-r--r--templates/txt.jinja24
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/txt.jinja2 b/templates/txt.jinja2
index 0d31047..9eb4beb 100644
--- a/templates/txt.jinja2
+++ b/templates/txt.jinja2
@@ -145,7 +145,7 @@ Report generated at {{ get_datetime() }}
{%- if txt_show_all_regex_occurrences == "True" and len_(results) > 0 %}
Occurrences list:
{%- for result in results %}
- {{ result }}
+ {{ result.replace("\n", "\\n") }}
{%- endfor -%}
{%- endif -%}
{%- endfor -%}
@@ -164,5 +164,5 @@ Report generated at {{ get_datetime() }}
{% endfor %}
{% if out != "stdout" -%}
-{{ test_results["pytest_report"] }}
+{{ test_results["pytest_report"].replace("\r", "") }}
{%- endif -%} \ No newline at end of file