Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed the default option of wrap=virtual on FormHelper#text_area to…

… ensure XHTML compatibility #1300 [thomas@columbus.rr.com]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1600 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit 3553b59d3c27ed06dfa9bb5a2265e101d2f3c2f6 1 parent 12ff2f7
@dhh dhh authored
View
2  actionpack/CHANGELOG
@@ -1,5 +1,7 @@
*SVN*
+* Removed the default option of wrap=virtual on FormHelper#text_area to ensure XHTML compatibility #1300 [thomas@columbus.rr.com]
+
* Adds the ability to include XML CDATA tags using Builder #1563 [Josh Knowles]. Example:
xml.cdata! "some text" # => <![CDATA[some text]]>
View
2  actionpack/lib/action_view/helpers/form_helper.rb
@@ -146,7 +146,7 @@ class InstanceTag #:nodoc:
DEFAULT_FIELD_OPTIONS = { "size" => 30 }.freeze unless const_defined?(:DEFAULT_FIELD_OPTIONS)
DEFAULT_RADIO_OPTIONS = { }.freeze unless const_defined?(:DEFAULT_RADIO_OPTIONS)
- DEFAULT_TEXT_AREA_OPTIONS = { "wrap" => "virtual", "cols" => 40, "rows" => 20 }.freeze unless const_defined?(:DEFAULT_TEXT_AREA_OPTIONS)
+ DEFAULT_TEXT_AREA_OPTIONS = { "cols" => 40, "rows" => 20 }.freeze unless const_defined?(:DEFAULT_TEXT_AREA_OPTIONS)
DEFAULT_DATE_OPTIONS = { :discard_type => true }.freeze unless const_defined?(:DEFAULT_DATE_OPTIONS)
def initialize(object_name, method_name, template_object, local_binding = nil)
Please sign in to comment.
Something went wrong with that request. Please try again.