mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-19 19:25:51 +00:00
dactyl badges: better support for non-link badges
This commit is contained in:
@@ -40,3 +40,5 @@ def filter_soup(soup, target=None, page=None):
|
||||
b.clear()
|
||||
b.append(img)
|
||||
b["title"] = badge_label
|
||||
if not b["href"]:
|
||||
del b["href"]
|
||||
|
||||
Reference in New Issue
Block a user