# reverse of simple\_format?

**URL:** <https://discuss.rubyonrails.org/t/reverse-of-simple-format/40919>\
**Category:** rubyonrails-talk\
**Created:** [March 26, 2009, 10:28pm UTC](https://discuss.rubyonrails.org/t/reverse-of-simple-format/40919 "2009-03-26T22:28:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dan\_Sharp](https://avatars.discourse-cdn.com/v4/letter/d/c68b51/32.png) [@Dan\_Sharp](https://discuss.rubyonrails.org/u/Dan_Sharp)\
**Post date:** [March 26, 2009, 10:28pm UTC](https://discuss.rubyonrails.org/t/reverse-of-simple-format/40919/1 "2009-03-26T22:28:27Z")

</div>

Hello!

Is there a way to reverse the TextHelper simple\_format? I.e. to take some text with \<p\> tags and \<br\> tags and convert them into line breaks in a smart way? (smarter than just a regexp that is).

TIA!

-Danimal
