mirror of https://gitlab.com/bashrc2/epicyon
Return to ?
parent
cada7845a4
commit
7c3506d990
|
@ -53,13 +53,13 @@ def _getLeftColumnShares(baseDir: str,
|
|||
ctr = 0
|
||||
for published, item in sharesJson.items():
|
||||
sharedesc = item['displayName']
|
||||
if '<' in sharedesc or ';' in sharedesc:
|
||||
if '<' in sharedesc or '?' in sharedesc:
|
||||
continue
|
||||
shareId = item['shareId']
|
||||
# selecting this link calls htmlShowShare
|
||||
shareLink = actor + '?showshare=' + shareId
|
||||
if item.get('category'):
|
||||
shareLink += ';category=' + item['category']
|
||||
shareLink += '?category=' + item['category']
|
||||
shareCategory = shareCategoryIcon(item['category'])
|
||||
|
||||
linksList.append(shareCategory + sharedesc + ' ' + shareLink)
|
||||
|
|
|
@ -997,7 +997,7 @@ def htmlIndividualShare(domain: str, shareId: str,
|
|||
'<p>' + \
|
||||
'<a href="' + actor + \
|
||||
'?replydm=sharedesc:' + sharedesc + \
|
||||
';mention=' + contactActor + '">' + \
|
||||
'?mention=' + contactActor + '">' + \
|
||||
'<button class="' + buttonStyleStr + '">' + \
|
||||
contactTitleStr + '</button></a>\n'
|
||||
profileStr += \
|
||||
|
|
|
@ -1341,8 +1341,8 @@ def htmlSearchResultShare(baseDir: str, sharedItem: {}, translate: {},
|
|||
sharedItemsForm += \
|
||||
'<p>' + \
|
||||
'<a href="' + actor + '?replydm=sharedesc:' + \
|
||||
sharedItem['displayName'] + ';mention=' + contactActor + \
|
||||
';category=' + category + \
|
||||
sharedItem['displayName'] + '?mention=' + contactActor + \
|
||||
'?category=' + category + \
|
||||
'"><button class="' + buttonStyleStr + '">' + contactTitleStr + \
|
||||
'</button></a>\n' + \
|
||||
'<a href="' + contactActor + '"><button class="button">' + \
|
||||
|
|
Loading…
Reference in New Issue