@@ -227,7 +227,7 @@ |
||
227 | 227 | */ |
228 | 228 | public static function replaceLineBreak($txt) |
229 | 229 | { |
230 | - $str = preg_replace('/\r\n?/', ';', $txt); |
|
231 | - return preg_replace('/\r|\n/', ';', $str); |
|
230 | + $str = preg_replace('/\r\n?/', ';', $txt); |
|
231 | + return preg_replace('/\r|\n/', ';', $str); |
|
232 | 232 | } |
233 | 233 | } |