Hi,
I am using JRuby 1.5.0 and Rails 2.5.3.
I am posting a text( 400 characters ) through a textarea. Which is
getting saved in the postgres DB. When I am retriving the data and
displaying the same on the view the large spaces between the words are
getting trimpped to one single space.
EX.-> posted text :
Hi This forum is an interface to a mailing list.
Your email address.
In the Db(table) it is getting saved as it is posted(with large spaces
among words).
In view while displaying :
Hi This forum is an interface to a mailing list. Your email address
In view the code is as follows :
<%=auto_link((h test.name_text),:link => :urls,:html =>{:target =>
‘_blank’}) %>
Please Help!
Regards,