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

Export trims whitespaces in property values

    XMLWordPrintable

Details

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

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

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD