ActionView::Helpers::TextHelper
simple_format
API docs (Rails 8.1.4.1) ↗def simple_format(text, html_options = {}, options = {})
Description
Returns the string with a <p> for each paragraph and a <br /> for each line break.
ERB
Changes from the previous output: Added Removed Changed
HTML
Preview
Form submission
Form data
| name | value |
|---|
Request body
Content-Type:
params