summaryrefslogtreecommitdiffstats
path: root/templates
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
parentc54a8630faa8e1c597d598bf7497d724efb0fb18 (diff)
downloadSmarker-3e5d53b94cb535071ee0e4135de0f7d191cf26dc.tar.gz
Smarker-3e5d53b94cb535071ee0e4135de0f7d191cf26dc.zip
removed \rs for cross platform compatibility
Diffstat (limited to 'templates')
l---------templates/markdown.jinja2bin9 -> 26 bytes
-rw-r--r--templates/md.jinja24
l---------templates/text.jinja2bin10 -> 28 bytes
-rw-r--r--templates/txt.jinja24
4 files changed, 4 insertions, 4 deletions
diff --git a/templates/markdown.jinja2 b/templates/markdown.jinja2
index 4f923d6..99c26ce 120000
--- a/templates/markdown.jinja2
+++ b/templates/markdown.jinja2
Binary files differ
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
index aad87bd..eca6ebd 120000
--- a/templates/text.jinja2
+++ b/templates/text.jinja2
Binary files differ
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