Answers for "Using new line(\n) in string and rendering the same in HTML"

1

Using new line(\n) in string and rendering the same in HTML

<span style="white-space: pre-line">@Model.CommentText</span>
Posted by: Guest on July-09-2021

Browse Popular Code Answers by Language