diff options
Diffstat (limited to 'templates')
l--------- | templates/markdown.jinja2 | bin | 9 -> 26 bytes | |||
-rw-r--r-- | templates/md.jinja2 | 4 | ||||
l--------- | templates/text.jinja2 | bin | 10 -> 28 bytes | |||
-rw-r--r-- | templates/txt.jinja2 | 4 |
4 files changed, 4 insertions, 4 deletions
diff --git a/templates/markdown.jinja2 b/templates/markdown.jinja2 Binary files differindex 4f923d6..99c26ce 120000 --- a/templates/markdown.jinja2 +++ b/templates/markdown.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 diff --git a/templates/text.jinja2 b/templates/text.jinja2 Binary files differindex aad87bd..eca6ebd 120000 --- a/templates/text.jinja2 +++ b/templates/text.jinja2 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 |