Try something like this

<%= content_tag(:div, content_tag(:p, "Our programme notes are being
prepared.<br />", :class => 'regtextend'), :id => 'notes').html_safe %>

Or
<%= raw content_tag(:div, content_tag(:p, "Our programme notes are being
prepared.<br />", :class => 'regtextend'), :id => 'notes').html_safe %>
On Fri, Jul 8, 2011 at 5:50 PM, radhames brito <rbri...@gmail.com> wrote:

> Why would it? is html what gets rendered, use <br/> and end the string with
> html_safe
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To unsubscribe from this group, send email to
> rubyonrails-talk+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>



-- 
Rajeev Kannav 
Sharma<http://www.google.com/search?q=Rajeev+Kannav+Sharma&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to