SyntaxFix
Write A Post
Hire A Developer
Questions
You can use the css property white-space and set it to pre-wrap to the enclosing div element.
div { white-space: pre-wrap; }