formatting text in view mode same as edit mode

<%= text_area "sd_ticket", "description", "cols" => 80, "rows" => 5 %>

    And here i am entering some text with spaces and enter keys ..Now

<pre><%=h @sd_ticket.description %></pre>

Hi     thanks for your reply..But one problem is pre takes enter keys Thats ok..But suppose in edit mode suppose if I continue my typing without pressing enter key and i gave only spaces Then alos in edit mode everything happen ok automaticaaly each letter goes to new line when it reaches extreme right..But in the view mode space wont be recognized by pre ..For that what should I do


Hi    Solved it with width option of pre Sijo