Hi

I have an app which posts an ajax request with with text area content,
but when it does post it it gets all the newlines and multiple spaces
removed (need to use multiple spacing for use with markdown code
snippets)

I've created a sample app which you can see here 
http://test.42horizons.com/test,

View it in IE 8 and both requests remove line spaces and new lines,
view it in firefox 3.6.3 windows and the left request works ok and the
right request removes line spaces and new lines

the echo action which the  requests are sent to simply removes the
controller and action keys from params and then does

render :text => params.to_json

Anyone have any ideas what I'm doing wrong?

-- 
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-t...@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