(register)   username:   password:  

Community KB :: DITA / FrameMaker

A collection of tips and troubleshooting information. Feel free to register and add your own items.

Tags:                                        
Keywords: 

FMN DITA .. refers to the DITA support that is provided by default in FM9 and FM8.

DITA-FMx .. is a plugin that provides extended DITA authoring support for FM9, FM8, FM7.2 and FM7.1. More info...

Submitted by: Scott Prentice (2009-01-26)

TAGS:  Authoring, FM8 DITA, FM9 DITA, FM 8.0, FM 9.0
SUMMARY:  Line breaks disappear in code or preformatted content
ISSUE:  Line breaks in preformatted content (codeblock, pre, etc) seem to get deleted when saving to XML. The line breaks are there but after saving, closing and reopening the file, some line breaks are missing.
SOLUTION:  This will happen if you have a child element within the preformatted element and that child element "touches" the end or beginning of a line.

This is a bug in structured Frame (both FM8, FM9 and earlier).

The only solution is to make sure that the child elements never start or end a line. Add a space after the child element's end tag and before the line break.

This has been fixed in DITA-FMx.