mirror of
				https://github.com/Redocly/redoc.git
				synced 2025-10-31 15:57:30 +03:00 
			
		
		
		
	
							parent
							
								
									c88c41b9b5
								
							
						
					
					
						commit
						846065916d
					
				|  | @ -196,5 +196,7 @@ function parseURL(url: string) { | |||
| } | ||||
| 
 | ||||
| export function unescapeHTMLChars(str: string): string { | ||||
|   return str.replace(/&#(\d+);/g, (_m, code) => String.fromCharCode(parseInt(code, 10))); | ||||
|   return str | ||||
|     .replace(/&#(\d+);/g, (_m, code) => String.fromCharCode(parseInt(code, 10))) | ||||
|     .replace(/&/g, '&'); | ||||
| } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user