Skip to content

Commit

Permalink
Show newlines in text
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinlu3 committed Dec 18, 2024
1 parent 1f28289 commit e4ab50a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ export default class SummaryWithRefs extends React.Component<
}
});

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

0 comments on commit e4ab50a

Please sign in to comment.