Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
fix ignore newline by after textarea's opening tag #1736
The textarea tag is missing first newline. I want to save the input as content.
From the HTML 4.01 specification appendices:
So insert newline after the textarea opening tag.
output html is
But what is sent to the server is the only "\nfoo\nbar".
I want to solve this problem.