mirror of https://gitlab.com/bashrc2/epicyon
Web address should include prefix
parent
e6d02454fc
commit
3702d52c7e
|
|
@ -203,9 +203,11 @@ def html_person_options(default_timeline: str,
|
||||||
': <a href="mailto:' + \
|
': <a href="mailto:' + \
|
||||||
email_address + '">' + remove_html(email_address) + '</a></p>\n'
|
email_address + '">' + remove_html(email_address) + '</a></p>\n'
|
||||||
if web_address:
|
if web_address:
|
||||||
|
web_str = remove_html(web_address)
|
||||||
|
if '://' not in web_str:
|
||||||
|
web_str = 'https://' + web_str
|
||||||
options_str += \
|
options_str += \
|
||||||
'<p class="imText">🌐 ' + \
|
'<p class="imText">🌐 <a href="' + web_str + '">' + \
|
||||||
'<a href="' + remove_html(web_address) + '">' + \
|
|
||||||
web_address + '</a></p>\n'
|
web_address + '</a></p>\n'
|
||||||
if xmpp_address:
|
if xmpp_address:
|
||||||
options_str += \
|
options_str += \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue