Rails 3. simple_format do not wrap result in paragraph tags
You can specify wrapper_tag
option.
simple_format 'Hello', {}, wrapper_tag: 'span'
This code will be:
<span>Hello</span>
Unfortunately -- you can't. If you check out the source at http://api.rubyonrails.org/classes/ActionView/Helpers/TextHelper.html#method-i-simple_format you'll see that the p tags are wrapped around the content unconditionally.
You could create a helper that uses the simple_format code, but modify it to not include the p tags...