Hi,
In my application I am using a list box where i am showing different
groups
name. I am using
<%=truncate_html_strip_textual_wrap(group.name,28,28)%>
for truncating the name but it gives me problem when group name come
like Shital's friends from "Office" Group this
In list box it showing as a Shital's friends from & quote..
how to avoid such a thing? whats a proper way for handling such a
situations?
character like single quote, double quote, ampersand not truncated
properly
please give me a standers way for doing it.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---