Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-74595

StringUtil.splitLines should not strip indentation of first line

Details

    • Bug
    • Status: Verified
    • Resolution: Unresolved
    • 7.0.X, Master
    • None
    • 2

    Description

       

      StringUtil.splitLines(s);
      

      Where s =

          hello
          world

       

      Actual result:

      {"hello", "    world"}

       

      Expected result

      {"    hello", "    world"}

      Attachments

        Activity

          People

            support-lep@liferay.com SE Support
            hugo.huijser Hugo Huijser (Inactive)
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              4 years, 33 weeks, 3 days ago

              Packages

                Version Package