From 3702d52c7e31a3934fb8dfdd03d7a16775d69bb3 Mon Sep 17 00:00:00 2001
From: Bob Mottram
Date: Tue, 10 May 2022 19:56:01 +0100
Subject: [PATCH] Web address should include prefix
---
webapp_person_options.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/webapp_person_options.py b/webapp_person_options.py
index 50997fe0d..a35702199 100644
--- a/webapp_person_options.py
+++ b/webapp_person_options.py
@@ -203,9 +203,11 @@ def html_person_options(default_timeline: str,
': ' + remove_html(email_address) + '
\n'
if web_address:
+ web_str = remove_html(web_address)
+ if '://' not in web_str:
+ web_str = 'https://' + web_str
options_str += \
- '🌐 ' + \
- '' + \
+ '🌐 ' + \
web_address + '
\n'
if xmpp_address:
options_str += \