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)

Reply via email to