diff --git a/mythril/analysis/templates/report_as_markdown.jinja2 b/mythril/analysis/templates/report_as_markdown.jinja2 index 2d86c574..fb8bc961 100644 --- a/mythril/analysis/templates/report_as_markdown.jinja2 +++ b/mythril/analysis/templates/report_as_markdown.jinja2 @@ -12,7 +12,6 @@ ### Description {{ issue.description }} - {% if issue.filename and issue.lineno -%} In file: {{ issue.filename }}:{{ issue.lineno }} {%- endif -%} @@ -30,7 +29,6 @@ In file: {{ issue.filename }}:{{ issue.lineno }} {{ issue.debug }} {%- endif %} - {% endfor -%} {%- else -%} The analysis was completed successfully. No issues were detected. diff --git a/mythril/analysis/templates/report_as_text.jinja2 b/mythril/analysis/templates/report_as_text.jinja2 index 8e7856aa..49040c5c 100644 --- a/mythril/analysis/templates/report_as_text.jinja2 +++ b/mythril/analysis/templates/report_as_text.jinja2 @@ -10,7 +10,8 @@ PC address: {{ issue.address }} {% if issue.filename and issue.lineno -%} In file: {{ issue.filename }}:{{ issue.lineno }} {%- endif %} -{% if issue.code %} +{%- if issue.code %} + {{ issue.code }} --------------------