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

export and import add new line breaks

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • None
    • 2.1.3
    • None
    • None

    Description

      from the user-list:

      there are some corrupt of data happens. Example:

      Exported via gui content:

      website.camelot.main.xml {
      ... skip ...
      <sv:property sv:name="text" sv:type="String">
      <sv:value>text text text text<span
      id="Camelot">TextTex</span>&nbsp;&mdash; text
      text text text text text text.</sv:value>
      </sv:property>
      ... skip ...
      }

      And when i try to import this file, it's all fine, but i'v got this in
      html:

      {
      text text text text<span <br/>
      id="Camelot">TextTex</span>&nbsp&mdash text <br/>
      text text text text text text.
      }

      Why magnolia inserts <br/> in every place, where string ends(\n)?
      Is this bug, or may be feature?
      I version 2.1 there was all good with this becouse, i think, exported
      file wasn't contain any "\n".

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              pbaerfuss Philipp Bärfuss
              pbaerfuss Philipp Bärfuss
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD