Closed matlouis closed 10 years ago
Utf8::wordwrap doesn't work correctly when the input string contains new lines:
Utf8::wordwrap
$str = "string\nwith\nnew\nlines"; echo \Patchwork\Utf8::wordwrap($str);
should output the string unchanged (like php's wordwrap), but it outputs:
string stringwith stringwithnew stringwithnewlines
Utf8::wordwrap
doesn't work correctly when the input string contains new lines:should output the string unchanged (like php's wordwrap), but it outputs: