Markdown output formatting

pull/72/head
Bernhard Mueller 7 years ago
parent f6c07aed89
commit d679b1684e
  1. 2
      mythril/analysis/report.py

@ -93,7 +93,7 @@ class Report:
text += "### Description\n" + issue.description + "\n" text += "### Description\n" + issue.description + "\n"
if issue.filename and issue.code: if issue.filename and issue.code:
text += "*In " + issue.filename + ":*\n" text += "\nIn *" + issue.filename + ":*\n"
text += "\n```\n" + issue.code + "\n```\n" text += "\n```\n" + issue.code + "\n```\n"
return text return text

Loading…
Cancel
Save