On 15.5.2005, at 08:14, Tom Reinhart wrote:
> I have the doctype for XHTML Transitional in my pages, but text_area()
> seems to generate a <textarea> tag with the wrap attribute set to
> ''virtual'' by default, causing the page not to validate.
Validation
> isn''t really that important to me, but I would like to know if it
is
> possible to set attributes to not be shown (unset) when passing them
> to the HTML generation functions.
>
> I have tried adding wrap => nil, but that was interpreted as
wrap="",
> and I cannot think of anything else to try.
There''s a few non-validating relics left in ActionView helpers. Just
submit a ticket to Rails Trac, I don''t think you can work around this
since the whole wrap attribute is invalid.
//jarkko
--
Jarkko Laine
http://jlaine.net
http://odesign.fi
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails