Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-7024

Export trims whitespaces in property values

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: 5.5.4
    • Fix Version/s: 5.5.5
    • Component/s: core
    • Labels:
      None
    • Sprint:
      Kromeriz 96
    • Story Points:
      1
    • Magnolia Release:
      5.5.5

      Description

      It's because of the default format config:

      public JcrExportCommand() {
                final org.jdom.output.Format format = org.jdom.output.Format.getPrettyFormat();
      -         format.setTextMode(org.jdom.output.Format.TextMode.NORMALIZE); 
      +        format.setTextMode(org.jdom.output.Format.TextMode.PRESERVE);
                format.setLineSeparator("\n");
                getOutputter().setFormat(format);
      }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mdivilek Milan Divilek
                Reporter:
                rkovarik Roman Kovařík
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: