mirror of
				https://github.com/Redocly/redoc.git
				synced 2025-10-31 07:47:29 +03:00 
			
		
		
		
	chore: escape HTML (#527)
This commit is contained in:
		
							parent
							
								
									c0b0cd49b5
								
							
						
					
					
						commit
						35f83e491a
					
				|  | @ -28,12 +28,7 @@ export class FieldDetails extends React.PureComponent<FieldProps> { | |||
|         <div> | ||||
|           <TypePrefix>{schema.typePrefix}</TypePrefix> | ||||
|           <TypeName>{schema.displayType}</TypeName> | ||||
|           {schema.format && ( | ||||
|             <TypeFormat> | ||||
|               {' <'} | ||||
|               {schema.format}> | ||||
|             </TypeFormat> | ||||
|           )} | ||||
|           {schema.format && <TypeFormat> <{schema.format}> </TypeFormat>} | ||||
|           {schema.title && <TypeTitle> ({schema.title}) </TypeTitle>} | ||||
|           <ConstraintsView constraints={schema.constraints} /> | ||||
|           {schema.nullable && <NullableLabel> Nullable </NullableLabel>} | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user