재우니의 블로그

 script 태그나 <> 이용한 글자들을 사용자가 입력한 내용을 그대로 보여줍니다.

 

참고한 사이트

http://stackoverflow.com/a/7602751

<span style="white-space: pre-line">@shortInfo.Contents</span>

간단하게 style 로 지정이 가능하다.

 

style 에 대한 좀더 자세한 내용은...

http://quirksmode.org/css/text/whitespace.html