Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix lack of newline for <textarea> tag in form helpers #4000

Closed
wants to merge 1 commit into from
Closed

Fix lack of newline for <textarea> tag in form helpers #4000

wants to merge 1 commit into from

Conversation

codykrieger
Copy link

For issue #393. This one doesn't modify the param list of the content_tag method.

@rafaelfranca
Copy link
Member

This can be closed since it was fixed.

@josevalim josevalim closed this Feb 28, 2012
@visoft
Copy link

visoft commented Mar 9, 2012

FYI, this causes an issue with the latest of version of haml. See haml #497 and simple_form #513 for more information.

@jcoleman
Copy link
Contributor

+1 @visoft

This breaks any app using HAML.

jcoleman added a commit to jcoleman/rails that referenced this pull request Mar 27, 2012
See issue rails#393, issue rails#4000, issue rails#5190, and issue rails#5191. Adds a newline after the textarea opening tag based on @codykrieger's original patch so that we don't cause regressions in Haml-using apps. The regression caused textarea tags to add newlines to the field unintentionally (each update/save added an extra newline.)

Also fix 6 more tests that didn't yet have the newline expectation.
jcoleman added a commit to jcoleman/rails that referenced this pull request Mar 27, 2012
See issue rails#393, issue rails#4000, issue rails#5190, and issue rails#5191. Adds a newline after the textarea opening tag based on @codykrieger's original patch so that we don't cause regressions in Haml-using apps. The regression caused textarea tags to add newlines to the field unintentionally (each update/save added an extra newline.)

Also fix 6 more tests that didn't yet have the newline expectation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants