mirror of https://gitlab.com/bashrc2/epicyon
Mention tab index
parent
9593092c8f
commit
754c679075
|
@ -678,7 +678,7 @@ def _add_hash_tags(word_str: str, http_prefix: str, domain: str,
|
||||||
'type': 'Hashtag'
|
'type': 'Hashtag'
|
||||||
}
|
}
|
||||||
replace_hashtags[word_str] = "<a href=\"" + hashtag_url + \
|
replace_hashtags[word_str] = "<a href=\"" + hashtag_url + \
|
||||||
"\" class=\"mention hashtag\" rel=\"tag\">#<span>" + \
|
"\" class=\"mention hashtag\" rel=\"tag\" tabindex=\"10\">#<span>" + \
|
||||||
hashtag + "</span></a>"
|
hashtag + "</span></a>"
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
|
@ -877,7 +877,7 @@ def _dav_store_event(base_dir: str, nickname: str, domain: str,
|
||||||
next_str = post_id + "/replies?only_other_accounts=true&page=true"
|
next_str = post_id + "/replies?only_other_accounts=true&page=true"
|
||||||
content = \
|
content = \
|
||||||
'<p><span class=\"h-card\"><a href=\"' + actor2 + \
|
'<p><span class=\"h-card\"><a href=\"' + actor2 + \
|
||||||
'\" class=\"u-url mention\">@<span>' + nickname + \
|
'\" class=\"u-url mention\" tabindex="10">@<span>' + nickname + \
|
||||||
'</span></a></span>' + remove_html(description) + '</p>'
|
'</span></a></span>' + remove_html(description) + '</p>'
|
||||||
event_json = {
|
event_json = {
|
||||||
"@context": post_context,
|
"@context": post_context,
|
||||||
|
|
Loading…
Reference in New Issue