Skip to content

Commit

Permalink
fix(rpg) use slice not truncatechar for commit ids
Browse files Browse the repository at this point in the history
truncatechar adds ellipses which is not desirable
  • Loading branch information
vEnhance committed Sep 9, 2023
1 parent d97845a commit 5555cbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpg/templates/rpg/github_landing.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ <h2>Vulnerabilities</h2>
<li>
<p>
{% if v.spades %}<strong>{{ v.spades }}♠</strong> for{% endif %}
<a href="{{ v.get_absolute_url }}">{{ v.commit_hash|truncatechars:7 }}</a>
<a href="{{ v.get_absolute_url }}">{{ v.commit_hash|slice:":7" }}</a>
{{ v.description }}
<br />
Expand Down

0 comments on commit 5555cbc

Please sign in to comment.