mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 20:13:46 +00:00 
			
		
		
		
	compose: Don't escape usernames in quote-and-reply.
This fixes a bug that breaks quote-and-replying to users with characters
like apostrophes in their usernames.
The bug was introduced in def1e01512.
			
			
This commit is contained in:
		
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							700cfd648c
						
					
				
				
					commit
					e0b1818780
				
			| @@ -459,7 +459,7 @@ export function quote_and_reply(opts) { | ||||
|         //     ```quote | ||||
|         //     message content | ||||
|         //     ``` | ||||
|         let content = i18n.t("__username__ [said](__- link_to_message__):", { | ||||
|         let content = i18n.t("__- username__ [said](__- link_to_message__):", { | ||||
|             username: `@_**${message.sender_full_name}|${message.sender_id}**`, | ||||
|             link_to_message: `${hash_util.by_conversation_and_time_uri(message)}`, | ||||
|         }); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user