What do you want to save?
Add Code snippet
New code examples
-
Ruby 2022-03-14 14:00:15
how to get new line to display in rails
<%= obj.description %> Even though your value may be "One \t \n \n Two", it will show up on the screen as "One Two". To get those new line characters to actually separate the lines when displayed, you'll need to convert them... Add solution