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
modern browsers eat first newline in textarea. #69
Modern browsers eat first empty line in textarea block.
so when we parse form, we need to remove leading newline char in textarea block.
My tests broken after I started to migrate to django 1.5 branch, I use webtest to functional testing.
Also please note, that it only affects html.parser beautufulsoup builder. because in html5lib leading newline removed automaticly https://github.com/html5lib/html5lib-python/blob/master/html5lib/html5parser.py#L993.