mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-21 20: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.clear()
|
||||||
b.append(img)
|
b.append(img)
|
||||||
b["title"] = badge_label
|
b["title"] = badge_label
|
||||||
|
if not b["href"]:
|
||||||
|
del b["href"]
|
||||||
|
|||||||
Reference in New Issue
Block a user