mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	upload: Show text/plain uploads inline.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							f4cbdd8c9c
						
					
				
				
					commit
					84d5ef1285
				
			@@ -22,6 +22,7 @@ INLINE_MIME_TYPES = [
 | 
			
		||||
    "image/jpeg",
 | 
			
		||||
    "image/png",
 | 
			
		||||
    "image/webp",
 | 
			
		||||
    "text/plain",
 | 
			
		||||
    "video/mp4",
 | 
			
		||||
    "video/webm",
 | 
			
		||||
    # To avoid cross-site scripting attacks, DO NOT add types such
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user