# How to show text with all breaks, new line char,spaces

**URL:** <https://www.ruby-forum.com/t/how-to-show-text-with-all-breaks-new-line-char-spaces/196692>\
**Category:** Ruby-Forum\
**Created:** [May 26, 2008, 10:57am UTC](https://www.ruby-forum.com/t/how-to-show-text-with-all-breaks-new-line-char-spaces/196692 "2008-05-26T10:57:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sunfish](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/96bed5/32.png) [@sunfish](https://www.ruby-forum.com/u/sunfish)\
**Post date:** [May 26, 2008, 10:57am UTC](https://www.ruby-forum.com/t/how-to-show-text-with-all-breaks-new-line-char-spaces/196692/1 "2008-05-26T10:57:52Z")

</div>

I want to show paragraph breaks appear in the event description just as  
the user typed them on , how to do in ruby?
