fix: paragraph whitespace pre-wrap

fixes #3
This commit is contained in:
Jing Hua 2023-03-04 19:30:19 +08:00
parent 143762fbee
commit eeccf01ec2

View file

@ -159,6 +159,9 @@ const ContentView = ({
</div> </div>
); );
}, },
p({ className, children, ...props }) {
return <p className='whitespace-pre-wrap'>{children}</p>;
},
}} }}
> >
{content} {content}