From 3e5d53b94cb535071ee0e4135de0f7d191cf26dc Mon Sep 17 00:00:00 2001 From: jwansek Date: Mon, 21 Feb 2022 16:25:57 +0000 Subject: removed \rs for cross platform compatibility --- templates/md.jinja2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/md.jinja2') diff --git a/templates/md.jinja2 b/templates/md.jinja2 index e1d95ca..e764a49 100644 --- a/templates/md.jinja2 +++ b/templates/md.jinja2 @@ -142,7 +142,7 @@ Please note that this file cannot be analysed or have tests preformed upon it- {%- if md_show_all_regex_occurrences == "True" and len_(results) > 0 %} - Occurrences list: {%- for result in results %} - - `{{ result }}` + - `{{ result.replace("\n", "\\n") }}` {%- endfor -%} {%- if md_show_all_run_output == "True" %} - Full runtime output: @@ -161,6 +161,6 @@ Please note that this file cannot be analysed or have tests preformed upon it- {% if out != "stdout" and format != "html" -%} ## Tests: ``` -{{ test_results["pytest_report"] }} +{{ test_results["pytest_report"].replace("\r", "") }} ``` {%- endif -%} \ No newline at end of file -- cgit v1.2.3