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

Export trims whitespaces in property values

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 5.5.5
    • 5.5.4
    • core
    • None
    • Kromeriz 96
    • 1

      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);
      }
      

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD