mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
fb8b19aaef
commit
2477618d69
|
@ -829,8 +829,7 @@ def _add_mention(word_str: str, http_prefix: str, following: [],
|
||||||
'type': 'Mention'
|
'type': 'Mention'
|
||||||
}
|
}
|
||||||
replace_mentions[word_str] = \
|
replace_mentions[word_str] = \
|
||||||
"<span class=\"h-card\"><a href=\"" + http_prefix + \
|
"<span class=\"h-card\"><a href=\"" + recipient_actor + \
|
||||||
"://" + possible_domain + "/@" + possible_nickname + \
|
|
||||||
"\" tabindex=\"10\" class=\"u-url mention\">@<span>" + \
|
"\" tabindex=\"10\" class=\"u-url mention\">@<span>" + \
|
||||||
possible_nickname + "</span></a></span>"
|
possible_nickname + "</span></a></span>"
|
||||||
return True
|
return True
|
||||||
|
@ -847,8 +846,7 @@ def _add_mention(word_str: str, http_prefix: str, following: [],
|
||||||
'type': 'Mention'
|
'type': 'Mention'
|
||||||
}
|
}
|
||||||
replace_mentions[word_str] = \
|
replace_mentions[word_str] = \
|
||||||
"<span class=\"h-card\"><a href=\"" + http_prefix + \
|
"<span class=\"h-card\"><a href=\"" + recipient_actor + \
|
||||||
"://" + possible_domain + "/@" + possible_nickname + \
|
|
||||||
"\" tabindex=\"10\" class=\"u-url mention\">@<span>" + \
|
"\" tabindex=\"10\" class=\"u-url mention\">@<span>" + \
|
||||||
possible_nickname + "</span></a></span>"
|
possible_nickname + "</span></a></span>"
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in New Issue