From 6ccb10529f951e6efb0ccddb8345eed769dd6d67 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 30 Nov 2022 22:51:10 +0000 Subject: [PATCH] Indentation --- webapp_person_options.py | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/webapp_person_options.py b/webapp_person_options.py index f56c467c9..5136daa67 100644 --- a/webapp_person_options.py +++ b/webapp_person_options.py @@ -214,7 +214,7 @@ def html_person_options(default_timeline: str, options_link_str = '' if options_link: - options_link_str = \ + options_link_str += \ ' \n' if moved_to: @@ -351,7 +351,7 @@ def html_person_options(default_timeline: str, if email_address: options_str += \ - '

' + translate['Email'] + \ + '

' + translate['Email'] + \ ': ' + remove_html(email_address) + '

\n' if web_address: @@ -359,50 +359,51 @@ def html_person_options(default_timeline: str, if '://' not in web_str: web_str = 'https://' + web_str options_str += \ - '

🌐 ' + \ + '

🌐 ' + \ web_address + '

\n' if gemini_link: gemini_str = remove_html(gemini_link) if '://' not in gemini_str: gemini_str = 'gemini://' + gemini_str options_str += \ - '

' + \ + '

' + \ gemini_link + '

\n' if xmpp_address: options_str += \ - '

' + translate['XMPP'] + \ + '

' + translate['XMPP'] + \ ': ' + \ xmpp_address + '

\n' if matrix_address: options_str += \ - '

' + translate['Matrix'] + ': ' + \ + '

' + translate['Matrix'] + ': ' + \ remove_html(matrix_address) + '

\n' if ssb_address: options_str += \ - '

SSB: ' + remove_html(ssb_address) + '

\n' + '

SSB: ' + remove_html(ssb_address) + '

\n' if blog_address: options_str += \ - '

Blog: Blog: ' + \ remove_html(blog_address) + '

\n' if tox_address: options_str += \ - '

Tox: ' + remove_html(tox_address) + '

\n' + '

Tox: ' + remove_html(tox_address) + '

\n' if briar_address: if briar_address.startswith('briar://'): options_str += \ - '

' + \ + '

' + \ remove_html(briar_address) + '

\n' else: options_str += \ - '

briar://' + \ + '

briar://' + \ remove_html(briar_address) + '

\n' if cwtch_address: options_str += \ - '

Cwtch: ' + remove_html(cwtch_address) + '

\n' + '

Cwtch: ' + \ + remove_html(cwtch_address) + '

\n' if enigma_pub_key: options_str += \ - '

Enigma: ' + \ + '

Enigma: ' + \ remove_html(enigma_pub_key) + '

\n' if pgp_fingerprint: options_str += '

PGP: ' + \