mirror of https://gitlab.com/bashrc2/epicyon
Handle html in moveTo
parent
609811e633
commit
dd5dccad46
|
@ -6207,6 +6207,8 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
if actorJson:
|
||||
if actorJson.get('movedTo'):
|
||||
movedTo = actorJson['movedTo']
|
||||
if '"' in movedTo:
|
||||
movedTo = movedTo.split('"')[1]
|
||||
lockedAccount = getLockedAccount(actorJson)
|
||||
donateUrl = getDonationUrl(actorJson)
|
||||
websiteUrl = getWebsite(actorJson, self.server.translate)
|
||||
|
|
|
@ -125,6 +125,8 @@ def htmlProfileAfterSearch(cssCache: {},
|
|||
movedTo = ''
|
||||
if profileJson.get('movedTo'):
|
||||
movedTo = profileJson['movedTo']
|
||||
if '"' in movedTo:
|
||||
movedTo = movedTo.split('"')[1]
|
||||
displayName += ' ⌂'
|
||||
|
||||
followsYou = \
|
||||
|
@ -702,6 +704,8 @@ def htmlProfile(rssIconAtTop: bool,
|
|||
movedTo = ''
|
||||
if profileJson.get('movedTo'):
|
||||
movedTo = profileJson['movedTo']
|
||||
if '"' in movedTo:
|
||||
movedTo = movedTo.split('"')[1]
|
||||
|
||||
alsoKnownAs = None
|
||||
if profileJson.get('alsoKnownAs'):
|
||||
|
|
Loading…
Reference in New Issue