mirror of https://gitlab.com/bashrc2/epicyon
Merge branch 'main' of gitlab.com:bashrc2/epicyon
commit
21e8269a14
|
@ -1115,6 +1115,15 @@ h3 {
|
||||||
font-size: var(--font-size);
|
font-size: var(--font-size);
|
||||||
color: var(--title-color);
|
color: var(--title-color);
|
||||||
}
|
}
|
||||||
|
figcaption img.emojiheader {
|
||||||
|
float: none;
|
||||||
|
width: 25px;
|
||||||
|
margin-left: 0px;
|
||||||
|
margin-right: 0px;
|
||||||
|
padding-right: 0px;
|
||||||
|
border-radius: 0px;
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
.hashtagswarm {
|
.hashtagswarm {
|
||||||
font-size: var(--hashtag-size1);
|
font-size: var(--hashtag-size1);
|
||||||
font-family: Arial, Helvetica, sans-serif;
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
|
@ -1907,6 +1916,15 @@ h3 {
|
||||||
blockquote {
|
blockquote {
|
||||||
font-size: var(--quote-font-size-mobile);
|
font-size: var(--quote-font-size-mobile);
|
||||||
}
|
}
|
||||||
|
figcaption img.emojiheader {
|
||||||
|
float: none;
|
||||||
|
width: 50px;
|
||||||
|
margin-left: 0px;
|
||||||
|
margin-right: 0px;
|
||||||
|
padding-right: 0px;
|
||||||
|
border-radius: 0px;
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
.hashtagswarm {
|
.hashtagswarm {
|
||||||
font-size: var(--hashtag-size2);
|
font-size: var(--hashtag-size2);
|
||||||
font-family: Arial, Helvetica, sans-serif;
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
|
@ -2682,6 +2700,15 @@ h3 {
|
||||||
blockquote {
|
blockquote {
|
||||||
font-size: var(--quote-font-size-tiny);
|
font-size: var(--quote-font-size-tiny);
|
||||||
}
|
}
|
||||||
|
figcaption img.emojiheader {
|
||||||
|
float: none;
|
||||||
|
width: 50px;
|
||||||
|
margin-left: 0px;
|
||||||
|
margin-right: 0px;
|
||||||
|
padding-right: 0px;
|
||||||
|
border-radius: 0px;
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
.hashtagswarm {
|
.hashtagswarm {
|
||||||
font-size: var(--font-size2);
|
font-size: var(--font-size2);
|
||||||
font-family: Arial, Helvetica, sans-serif;
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
|
|
|
@ -254,7 +254,7 @@ def html_profile_after_search(css_cache: {},
|
||||||
if len(profile_description.split('<br>')) > 2:
|
if len(profile_description.split('<br>')) > 2:
|
||||||
profile_description_short = ''
|
profile_description_short = ''
|
||||||
# keep the profile description short
|
# keep the profile description short
|
||||||
if len(profile_description_short) > 256:
|
if len(profile_description_short) > 2048:
|
||||||
profile_description_short = ''
|
profile_description_short = ''
|
||||||
# remove formatting from profile description used on title
|
# remove formatting from profile description used on title
|
||||||
avatar_description = ''
|
avatar_description = ''
|
||||||
|
@ -833,7 +833,7 @@ def html_profile(signing_priv_key_pem: str,
|
||||||
profile_description_short = ''
|
profile_description_short = ''
|
||||||
profile_description = profile_description.replace('<br>', '\n')
|
profile_description = profile_description.replace('<br>', '\n')
|
||||||
# keep the profile description short
|
# keep the profile description short
|
||||||
if len(profile_description_short) > 256:
|
if len(profile_description_short) > 2048:
|
||||||
profile_description_short = ''
|
profile_description_short = ''
|
||||||
# remove formatting from profile description used on title
|
# remove formatting from profile description used on title
|
||||||
avatar_description = ''
|
avatar_description = ''
|
||||||
|
@ -2237,6 +2237,7 @@ def html_edit_profile(server, css_cache: {}, translate: {},
|
||||||
actor_json['summary'].replace('<p>', '').replace('</p>', '')
|
actor_json['summary'].replace('<p>', '').replace('</p>', '')
|
||||||
if is_filtered(base_dir, nickname, domain, bio_str):
|
if is_filtered(base_dir, nickname, domain, bio_str):
|
||||||
bio_str = ''
|
bio_str = ''
|
||||||
|
bio_str = remove_html(bio_str)
|
||||||
if actor_json.get('manuallyApprovesFollowers'):
|
if actor_json.get('manuallyApprovesFollowers'):
|
||||||
if actor_json['manuallyApprovesFollowers']:
|
if actor_json['manuallyApprovesFollowers']:
|
||||||
manually_approves_followers = 'checked'
|
manually_approves_followers = 'checked'
|
||||||
|
|
Loading…
Reference in New Issue