We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2379289 commit 4f75ca9Copy full SHA for 4f75ca9
src/Forms/Helpers.php
@@ -70,7 +70,7 @@ private static function sanitize(int $type, $value): string|array|Nette\Http\Fil
70
{
71
if ($type === Form::DataText) {
72
return is_scalar($value)
73
- ? Strings::normalizeNewLines((string) $value)
+ ? Strings::unixNewLines((string) $value)
74
: null;
75
76
} elseif ($type === Form::DataLine) {
0 commit comments