Skip to content

Commit a1ba800

Browse files
authored
Show newlines in text (#1195)
1 parent 9cec336 commit a1ba800

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/webapp/app/oncokb-frontend-commons/src/components/SummaryWithRefs.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ export default class SummaryWithRefs extends React.Component<
3535
}
3636
});
3737

38-
return <span>{content}</span>;
38+
return <span style={{ whiteSpace: 'pre-wrap' }}>{content}</span>;
3939
}
4040
}

0 commit comments

Comments
 (0)