Commit
…lues. This is generally unnecessary, since tag handles string quoting, except in one case (utf8_enforcer_tag) where we want to specify the encoding ourselves.
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,6 @@ def render | |
options["size"] = options["maxlength"] unless options.key?("size") | ||
options["type"] ||= field_type | ||
options["value"] = options.fetch("value") { value_before_type_cast(object) } unless field_type == "file" | ||
options["value"] &&= ERB::Util.html_escape(options["value"]) | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
bughit
Contributor
|
||
add_default_name_and_id(options) | ||
tag("input", options) | ||
end | ||
|
#20814
this changes how arrays are encoded in form fields