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

    • Type: Bug
    • Status: Verified
    • Resolution: Unresolved
    • Affects Version/s: 7.0.X, Master
    • Fix Version/s: None
    • Component/s: Util
    • Labels:
    • Fix Priority:
      2

      Description

       

      StringUtil.splitLines(s);
      

      Where s =

          hello
          world

       

      Actual result:

      {"hello", "    world"}

       

      Expected result

      {"    hello", "    world"}

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Days since last comment:
                2 years, 16 weeks, 6 days ago

                Packages

                Version Package