Ruby on Rails Sunday, April 26, 2015

Hi Daniel,

modal.find('.modal-body').html('<%= raw @text.content %>');

On Sunday, April 26, 2015 at 5:28:38 PM UTC-3, Daniel Evans wrote:
How are you rendering that text?

On Sun, Apr 26, 2015 at 1:22 PM, Gm <javap...@gmail.com> wrote:
Hi,

I'm rendering a text inside a modal (bootstrap). But this text has this character: '
Example: Affonso Romano de Sant'Anna

When the text above is rendered, nothing occurs.
I think is some problem with that character.

Tips on how to solve this problem ?
Thanks.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/6e33193e-44b3-441b-8da7-b2c0d0278c8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Daniel Evans

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/bf1a644d-a908-44f7-abc5-1581ae4a8fc2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment