diff --git a/webapp_person_options.py b/webapp_person_options.py index 89e142d03..aa60ed3e1 100644 --- a/webapp_person_options.py +++ b/webapp_person_options.py @@ -11,6 +11,7 @@ from shutil import copyfile from petnames import getPetName from person import isPersonSnoozed from posts import isModerator +from utils import removeHtml from utils import getDomainFromActor from utils import getNicknameFromActor from blocking import isBlocked @@ -113,35 +114,36 @@ def htmlPersonOptions(defaultTimeline: str, optionsStr += \ '

' + translate['Email'] + \ ': ' + emailAddress + '

\n' + emailAddress + '">' + removeHtml(emailAddress) + '

\n' if xmppAddress: optionsStr += \ '

' + translate['XMPP'] + \ - ': ' + \ + ': ' + \ xmppAddress + '

\n' if matrixAddress: optionsStr += \ '

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

\n' + removeHtml(matrixAddress) + '

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

SSB: ' + ssbAddress + '

\n' + '

SSB: ' + removeHtml(ssbAddress) + '

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

Blog: ' + \ - blogAddress + '

\n' + '

Blog: ' + \ + removeHtml(blogAddress) + '

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

Tox: ' + toxAddress + '

\n' + '

Tox: ' + removeHtml(toxAddress) + '

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

Jami: ' + jamiAddress + '

\n' + '

Jami: ' + removeHtml(jamiAddress) + '

\n' if PGPfingerprint: optionsStr += '

PGP: ' + \ - PGPfingerprint.replace('\n', '
') + '

\n' + removeHtml(PGPfingerprint).replace('\n', '
') + '

\n' if PGPpubKey: optionsStr += '

' + \ - PGPpubKey.replace('\n', '
') + '

\n' + removeHtml(PGPpubKey).replace('\n', '
') + '

\n' optionsStr += '
\n' optionsStr += '