Hello,
I have a quite serious problem with textareas and haml. Version is
trunk (1.6.0). Consider the following:
textarea_layout.haml
%div
= @content_for_layout
textarea.haml
= text_area_tag "foo", "bar\nbar\nbar"
renders to:
<div>
<textarea id="foo" name="foo">bar
bar
bar</textarea>
</div>
As you can see, the content of the textarea is indented, resulting in
leading whitespaces in each line of the textarea. This is not the case
if I replace the \n newlines with \r carriage returns ("bar\rbar
\rbar").
I would really appreciate any input!
Andi
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---