Fix formatting of links in Amount.format_accounting

This commit is contained in:
RunasSudo 2024-04-04 21:37:58 +11:00
parent 641fb054e1
commit ff0a18f83b
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A

View File

@ -136,7 +136,7 @@ class Amount:
if link is None:
return Markup(text + space)
else:
return Markup('<a href="{}">{}</a>{}'.format(link, text, space))
return Markup('<a href="{}" class="hover:text-blue-700 hover:underline">{}</a>{}'.format(link, text, space))
def quantity_string(self):
if self.commodity == '$':