5 | | That said, I wouldn't have any problem with a `prepend_newline` parameter to `Textarea` which defaults to `True`. The justification for this is not so much XHTML5 specifically, and more just that the automatic new line stripping is conceptually odd behavior to begin with, added by browsers to workaround careless markup, and it seems reasonable to have a way to avoid that workaround and revert to what would otherwise be the straightforward intuitive behavior for the `Textarea` widget (that is, leaving the provided contents alone). |
| 5 | That said, I wouldn't have any problem with a `prepend_newline` parameter to `Textarea` which defaults to `True`. The justification for this is not so much XHTML5 specifically, and more just that the automatic new line stripping is conceptually odd behavior to begin with, added by browsers to workaround careless markup, and it seems reasonable to have a way to avoid our workaround for that workaround and revert to what would otherwise be the straightforward intuitive behavior for the `Textarea` widget (that is, leaving the provided contents alone). |