Paragraphs to which you have assigned the pre format property (for “preformatted” text) become blocks enclosed in <pre> tags in HTML. Browsers and other HTML viewers treat text within <pre> tags differently from other text. For example, long lines do not wrap when you narrow the viewer window, and whitespace is preserved.
To omit all line breaks from text mapped to pre elements;
[HTMLOptions] ; UnwrapPRE = No (default) or Yes (ignore line breaks in PRE) UnwrapPRE = Yes
When UnwrapPRE=Yes, DITA2Go ignores all line breaks in text mapped to preformatted elements, including those caused by paragraph breaks. UnwrapPRE is effective only within <pre> elements in HTML and XHTML, and within preformatted elements in XML.
To preserve leading spaces in preformatted text, also assign the following format property to the paragraph format:
[HTMLStyles] ParaFmt = NoWrap