We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i.e. replace \ns with <br>s?
\n
<br>
The text was updated successfully, but these errors were encountered:
The issue seems old but good issue
I have solved this problem. https://stackoverflow.com/questions/36260013/react-display-line-breaks-from-saved-textarea
Using css method
<Linkify componentDecorator={(decoratedHref, decoratedText, key) => ( <a target="blank" rel="noopener noreferrer" href={decoratedHref} key={key} > {decoratedText} </a> )} > <div style={{ whiteSpace: "pre-line", }} > {children} </div> </Linkify>
Also I added open in new tab functionality, thanks to #96 (comment)
Sorry, something went wrong.
No branches or pull requests
i.e. replace
\n
s with<br>
s?The text was updated successfully, but these errors were encountered: