Uploaded image for project: 'Commons Text'
  1. Commons Text
  2. TEXT-124

WordUtils.wrap breaks compatibility for leading white spaces of the first line

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      // commons-lang 2.6
      > WordUtils.wrap("    foo", wrapLength)
          foo
      
      // commons-text and commons-lang3
      > WordUtils.wrap("    foo", wrapLength)
      foo
      

      I prefer to the behavior of commons-lang 2.6.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tasanuma Takanobu Asanuma

              Dates

              • Created:
                Updated:

                Issue deployment