From 35f83e491a147f32b96444185325f9794cbdb5f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Deruss=C3=A9?= Date: Mon, 18 Jun 2018 14:58:26 +0200 Subject: [PATCH] chore: escape HTML (#527) --- src/components/Fields/FieldDetails.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/components/Fields/FieldDetails.tsx b/src/components/Fields/FieldDetails.tsx index e860772b..91201bef 100644 --- a/src/components/Fields/FieldDetails.tsx +++ b/src/components/Fields/FieldDetails.tsx @@ -28,12 +28,7 @@ export class FieldDetails extends React.PureComponent {
{schema.typePrefix} {schema.displayType} - {schema.format && ( - - {' <'} - {schema.format}> - - )} + {schema.format && <{schema.format}> } {schema.title && ({schema.title}) } {schema.nullable && Nullable }