# A not so simple simple\_format helper

**URL:** <https://www.ruby-forum.com/t/a-not-so-simple-simple-format-helper/72102>\
**Category:** Rails\
**Created:** [October 14, 2006, 5:51am UTC](https://www.ruby-forum.com/t/a-not-so-simple-simple-format-helper/72102 "2006-10-14T05:51:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jtei](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/43a26b/32.png) [@jtei](https://www.ruby-forum.com/u/jtei)\
**Post date:** [October 14, 2006, 5:51am UTC](https://www.ruby-forum.com/t/a-not-so-simple-simple-format-helper/72102/1 "2006-10-14T05:51:03Z")

</div>

Hi, is there a not as simple simple\_format helper in rails? 🙂 I would  
like to keep the line breaks from the input, however, I would like to  
escape all other HTML elements. So basically it is the h() helper but  
keeps the line breaks.

Any suggestions?

Thanks in advance.
