mirror of https://gitlab.com/bashrc2/epicyon
				
				
				
			Statdardize text within status on person options
							parent
							
								
									9db1b4ce3d
								
							
						
					
					
						commit
						b657380b6f
					
				|  | @ -14,6 +14,7 @@ from person import is_person_snoozed | ||||||
| from posts import is_moderator | from posts import is_moderator | ||||||
| from flags import is_featured_writer | from flags import is_featured_writer | ||||||
| from flags import is_dormant | from flags import is_dormant | ||||||
|  | from utils import standardize_text | ||||||
| from utils import data_dir | from utils import data_dir | ||||||
| from utils import quote_toots_allowed | from utils import quote_toots_allowed | ||||||
| from utils import get_full_domain | from utils import get_full_domain | ||||||
|  | @ -400,8 +401,9 @@ def html_person_options(default_timeline: str, | ||||||
|             options_str += other_accounts_html |             options_str += other_accounts_html | ||||||
| 
 | 
 | ||||||
|     if status: |     if status: | ||||||
|         if len(status) < 100 and \ |         if len(status) < 100: | ||||||
|            not is_filtered(base_dir, nickname, domain, status, |             status = standardize_text(status) | ||||||
|  |             if is_filtered(base_dir, nickname, domain, status, | ||||||
|                            system_language): |                            system_language): | ||||||
|                 # https://codeberg.org/fediverse/fep/src/branch/main/ |                 # https://codeberg.org/fediverse/fep/src/branch/main/ | ||||||
|                 # fep/82f6/fep-82f6.md |                 # fep/82f6/fep-82f6.md | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue