From 5555cbc216263477b6a04328d79cb950a3dae6da Mon Sep 17 00:00:00 2001 From: Evan Chen Date: Sat, 9 Sep 2023 16:59:22 -0400 Subject: [PATCH] fix(rpg) use slice not truncatechar for commit ids truncatechar adds ellipses which is not desirable --- rpg/templates/rpg/github_landing.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpg/templates/rpg/github_landing.html b/rpg/templates/rpg/github_landing.html index 9fc03810..ceb2eec8 100644 --- a/rpg/templates/rpg/github_landing.html +++ b/rpg/templates/rpg/github_landing.html @@ -75,7 +75,7 @@

Vulnerabilities

  • {% if v.spades %}{{ v.spades }}♠ for{% endif %} - {{ v.commit_hash|truncatechars:7 }} + {{ v.commit_hash|slice:":7" }} — {{ v.description }}