diff --git a/webapp_person_options.py b/webapp_person_options.py index 07bfece3b..cf6ecadbc 100644 --- a/webapp_person_options.py +++ b/webapp_person_options.py @@ -143,8 +143,14 @@ def htmlPersonOptions(defaultTimeline: str, optionsStr += \ '

Tox: ' + removeHtml(toxAddress) + '

\n' if briarAddress: - optionsStr += \ - '

Briar: ' + removeHtml(briarAddress) + '

\n' + if briarAddress.startswith('briar://'): + optionsStr += \ + '

' + \ + removeHtml(briarAddress) + '

\n' + else: + optionsStr += \ + '

briar://' + \ + removeHtml(briarAddress) + '

\n' if jamiAddress: optionsStr += \ '

Jami: ' + removeHtml(jamiAddress) + '

\n' diff --git a/webapp_profile.py b/webapp_profile.py index 89bc7493b..e1e05727f 100644 --- a/webapp_profile.py +++ b/webapp_profile.py @@ -477,9 +477,14 @@ def htmlProfile(rssIconAtTop: bool, '

Tox:

\n' if briarAddress: - donateSection += \ - '

Briar:

\n' + if briarAddress.startswith('briar://'): + donateSection += \ + '

\n' + else: + donateSection += \ + '

briar://

\n' if jamiAddress: donateSection += \ '

Jami: