Hi,
In my application i am showing group name in select box
while showing i am truncating name using following code
 <%=truncate_html_strip_textual_wrap(group.name,40,28)%></option>

but for group 'Friends from office "Neovasolutions".' it shows name in
drop down as a Friends from office & quote...
please reply me how to avoid such special character while truncating?
-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to