DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR HTML
Using new line( ) in string and rendering the same in HTML
<span style="white-space: pre-line">@Model.CommentText</span>
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#Using
#string
#rendering
#HTML
ADD COMMENT
Topic
COMMENT
Name
8+2 =
Submit