You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Takanobu Asanuma (JIRA)" <ji...@apache.org> on 2018/06/21 10:11:00 UTC
[jira] [Created] (TEXT-124) WordUtils.wrap breaks compatibility for
leading white spaces of the first line
Takanobu Asanuma created TEXT-124:
-------------------------------------
Summary: WordUtils.wrap breaks compatibility for leading white spaces of the first line
Key: TEXT-124
URL: https://issues.apache.org/jira/browse/TEXT-124
Project: Commons Text
Issue Type: Bug
Reporter: Takanobu Asanuma
{code}
// commons-lang 2.6
> WordUtils.wrap(" foo", wrapLength)
foo
// commons-text and commons-lang3
> WordUtils.wrap(" foo", wrapLength)
foo
{code}
I prefer to the behavior of commons-lang 2.6.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)