I experienced these same issues during my current project. I exported my entire website from version 3.0.1CE and imported it into version 3.0.2CE. My website looked fine until I tried to edit one of the pages that used the FCKeditor. That is when I saw all of the new line breaks <br /> inserted into my text. I did some research into the matter and I found these 2 jira issues:

http://jira.magnolia.info/browse/MAGNOLIA-585

http://jira.magnolia.info/browse/MAGNOLIA-1195

Both of these issues are marked as "Resolved." OK, so I tried all combinations for exporting website content. The only combination that worked was to use the export tool under the Tools menu with the "Keep versions" check box checked and the "Format XML" check box unchecked.

In the source code, the logic for the export functionality ignores the "Format XML" check box unless the "Keep versions" check box is checked. The formatter used to format the XML file has a line width the is explicitly stated. Therefore, if your text is longer than the stated line width, a line break is inserted. When this file is imported, that line break is read in and added to your text.

For those of you that are or have access to a developer, the executeExport method in info.magnolia.cms.core.ie.DataTransporter.java is where to start. You should be able to work your way down to the readFormatted method. This is where the OutputFormat object is created that formats the XML file. I removed that object and this resulted in output that was no longer formatted.

I actually ended up removing the "Format XML" check box from the export page. I am not really sure why this option is there in the first place

I hope this helps.

Frank






----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to