Skip to content

Commit a17eda1

Browse files
committed
typo
1 parent 01b7f1d commit a17eda1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Forms/Helpers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ private static function sanitize(int $type, $value): string|array|Nette\Http\Fil
7070
{
7171
if ($type === Form::DataText) {
7272
return is_scalar($value)
73-
? Strings::normalizeNewLines((string) $value)
73+
? Strings::unixNewLines((string) $value)
7474
: null;
7575

7676
} elseif ($type === Form::DataLine) {

0 commit comments

Comments
 (0)