mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/863 Closes #538 Approved-by: Hazelnoot <acomputerdog@gmail.com> Approved-by: Marie <github@yuugi.dev>
This commit is contained in:
		
						commit
						36b7572bdd
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -13,6 +13,7 @@ export default function sanitizeHtml(str: string | null): string | null {
 | 
			
		|||
			...original.defaults.allowedAttributes,
 | 
			
		||||
			a: original.defaults.allowedAttributes.a.concat(['style']),
 | 
			
		||||
			img: original.defaults.allowedAttributes.img.concat(['style']),
 | 
			
		||||
			'*': (original.defaults.allowedAttributes['*'] || []).concat(['style']),
 | 
			
		||||
		},
 | 
			
		||||
	});
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue