Wrap details in <code>
				
					
				
			This commit is contained in:
		
							parent
							
								
									c763ffc004
								
							
						
					
					
						commit
						027c22f013
					
				
					 1 changed files with 6 additions and 1 deletions
				
			
		|  | @ -147,7 +147,12 @@ | ||||||
| 			errorsElement = document.getElementById('errors'); | 			errorsElement = document.getElementById('errors'); | ||||||
| 		} | 		} | ||||||
| 		const detailsElement = document.createElement('details'); | 		const detailsElement = document.createElement('details'); | ||||||
| 		detailsElement.innerHTML = `<br><summary><code>ERROR CODE: ${code}</code></summary>${JSON.stringify(details)}`; | 		detailsElement.innerHTML = ` | ||||||
|  | 		<br> | ||||||
|  | 		<summary> | ||||||
|  | 			<code>ERROR CODE: ${code}</code> | ||||||
|  | 		</summary> | ||||||
|  | 		<code>${JSON.stringify(details)}</code>`; | ||||||
| 		errorsElement.appendChild(detailsElement); | 		errorsElement.appendChild(detailsElement); | ||||||
| 		await addStyle(` | 		await addStyle(` | ||||||
| 		* { | 		* { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue