asp.net mvc - Whitespacing in html, anyway to display it as such -


i have amount of content stores data in database plenty of whitespace, shows how want display on page. stackoverflow can change code tag. (the second way how looks in database, , how want display, first way how display) there can existing html?

step 1 step 2 step 3 step 4

step 1 step 2 step 3 step 4 

edit: hoping not use pre tag. maybe taking model (lets model.myhtml) , applying check whitespace, not sure how...

<pre>      step 1 step 2   step 3 step 4 </pre> 

try fiddle http://jsfiddle.net/sameerast/tvxu9/


Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -

c# - String.format() DateTime With Arabic culture -