import new
This commit is contained in:
1 parent
df55380236
commit
228927274d
12 files changed
+272
-207
No files matched your search
@@ -1,16 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Actions\Helper;
|
||||
|
||||
class LineEndings
|
||||
{
|
||||
public static function convert($string)
|
||||
{
|
||||
$string = preg_replace('~\R~', PHP_EOL, $string);
|
||||
|
||||
// Don't allow out-of-control blank lines.
|
||||
// $string = preg_replace("/\n{3,}/", "\n\n", $string);
|
||||
|
||||
return $string;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user