| #
39904235
|
| 04-Jun-2026 |
Andreas Gohr <gohr@cosmocode.de> |
Emit a guard newline in TextareaElement to preserve leading newlines
A browser's HTML parser ignores a single newline immediately after a <textarea> start tag, so a value whose first character is a
Emit a guard newline in TextareaElement to preserve leading newlines
A browser's HTML parser ignores a single newline immediately after a <textarea> start tag, so a value whose first character is a newline lost it on round-trip (e.g. saving a page or section whose source starts with a blank line silently dropped that line).
Emit a guard newline right after the start tag so the one the browser drops is absorbed and the value stays intact.
show more ...
|
| #
8c7c53b0
|
| 30-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
codestyle adjustments: class declaration braces
|
| #
9d01c1d9
|
| 01-Jul-2020 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
PSR-12 coding style
|
| #
6834946f
|
| 18-Apr-2016 |
Andreas Gohr <andi@splitbrain.org> |
correctly handle line breaks in textarea #1312
Textareas use CRLF, but internally we use LF.
|
| #
de19515f
|
| 08-May-2015 |
Andreas Gohr <andi@splitbrain.org> |
started with the compatibility layer
|
| #
12a4e4d1
|
| 08-May-2015 |
Andreas Gohr <andi@splitbrain.org> |
start of rewriting the form handling
This is jsut a small beginning. Not all elements are there, yet. It's also completely untested so far.
|