We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea1aa69 commit 7643002Copy full SHA for 7643002
src/components/HtmlWrapper.tsx
@@ -8,7 +8,11 @@ import { Interweave } from 'interweave';
8
const HtmlWrapper = ({ children }: { children: React.ReactNode }) => {
9
// ensures that htmlText is a string
10
const htmlText = typeof children === 'string' ? children : '';
11
- return <Interweave content={htmlText} />;
+ return (
12
+ <div style={{ whiteSpace: 'normal' }}>
13
+ <Interweave content={htmlText} />
14
+ </div>
15
+ );
16
};
17
18
export default HtmlWrapper;
0 commit comments