Skip to content

Commit

Permalink
Html output fix (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
arlosiggio authored Apr 17, 2024
1 parent 27c7941 commit 2af6718
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 190 deletions.
164 changes: 3 additions & 161 deletions apps/cargo-scout-audit/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 1 addition & 6 deletions apps/cargo-scout-audit/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cargo-scout-audit"
version = "0.2.6"
version = "0.2.7"
edition = "2021"
authors = [
"Agustin Aon <[email protected]>",
Expand Down Expand Up @@ -47,12 +47,7 @@ tempfile = "3.8"
toml = { version = "0.8.0" }
tera = {version = "=1.19.1", features=["builtins"]}
webbrowser = "=0.8.12"
<<<<<<< HEAD
pulldown-cmark = "0.10.0"
=======

scout-audit-internal = { version = "0.2.3", path = "../../scout-audit-internal", features = ["detector"] }
>>>>>>> main

[dev-dependencies]
colored = "2.0.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,14 @@ <h3 class="text-xl font-bold text-blue-400"> {{ vulnerability.name }}</h3>
{% endif %}
<p class="text-gray-400">Error message: <span class="font-mono text-gray-200">{{ finding.error_message }}</span>
</p>
{%if vulnerability.help != "" %}
<p>
Learn more about:
<a href="{{ vulnerability.help }}"
class="inline-block bg-blue-500 hover:bg-blue-600 text-blue-100 font-semibold px-3 py-1 rounded transition duration-150 ease-in-out">{{
vulnerability.name }}</a>
</p>
{% endif %}
</div>
{% endfor %}
</div>
Loading

0 comments on commit 2af6718

Please sign in to comment.