Add left-to-right override to user display name
https://anarres.family/@alice@mk.nyaa.place
This commit is contained in:
		
							parent
							
								
									f6908ee486
								
							
						
					
					
						commit
						dfe629aa2b
					
				| 
						 | 
				
			
			@ -109,7 +109,8 @@ static inline Element user_header(const httplib::Request& req, const std::string
 | 
			
		|||
                Element("img", {{"class", "user_page-profile"}, {"alt", "User profile picture"}, {"loading", "lazy"}, {"src", account.avatar}}, {}),
 | 
			
		||||
            }),
 | 
			
		||||
            Element("span", {
 | 
			
		||||
                Element("b", {preprocess_html(req, account.emojis, account.display_name)}), account.bot ? " (bot)" : "", " (@", account.acct(), ")", view_on_original,
 | 
			
		||||
                // left-to-right override--thank https://anarres.family/@alice@mk.nyaa.place
 | 
			
		||||
                Element("b", {preprocess_html(req, account.emojis, account.display_name)}), "\u202d", account.bot ? " (bot)" : "", " (@", account.acct(), ")", view_on_original,
 | 
			
		||||
                Element("br"),
 | 
			
		||||
                Element("br"), Element("b", {"Joined: "}), short_time(account.created_at),
 | 
			
		||||
                Element("br"),
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue