From aed2cf52b190945c85085846452a4e9f151cf6d2 Mon Sep 17 00:00:00 2001 From: Nathan Woodburn <github@nathan.woodburn.au> Date: Fri, 7 Mar 2025 15:13:58 +1100 Subject: [PATCH] fix: Use list to allow for html formatting --- hnslinks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hnslinks.py b/hnslinks.py index 7755173..66d9e8c 100644 --- a/hnslinks.py +++ b/hnslinks.py @@ -88,7 +88,7 @@ functions = { "url": { "name": "Login URL", - "type": "text" + "type": "list" } } } @@ -331,4 +331,4 @@ def edit(params, authentication): if 'result' not in response: return {"status": "Error signing message"} signature = response["result"] - return {"url": f"https://links.hns.au/auth?username={domain}&signature={signature}"} \ No newline at end of file + return {"url": [f"<a href=https://links.hns.au/auth?username={domain}&signature={signature} target='_blank'>Edit HNS Links</a>"]} \ No newline at end of file