After installing haml my rhtml files (in a fairly large app which I intended to keep much of the rhtml until a later time -running both in parallel and migrating as nec.) the text area problem with spaces cropped up in my rhtml. For awhile it did not occur to me it might be haml altering the output of rhtml files. This issue kicked me pretty hard for a day or so and my solution was to not use text_area in my app and just use raw html instead and a regex, for example.
<textarea cols="40" id="product_title" name="product[title]" rows="20"><%= @product.title.gsub(/\r\n/, "\r") %></textarea> Which allowed me to move forward, which was some relief but that is pretty ugly for sure. So, if you intend to use both you might need to do that? Or is there a better way? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Haml" 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/haml?hl=en -~----------~----~----~----~------~----~------~--~---
