Omni Systems, Inc.

  

Mif2Go User's Guide, Version 33u53

  

Valid HTML 4.01!

 

Made with Mif2Go

20 Mapping text formats to HTML > 20.9 Configuring preformatted text for HTML/XML > 20.9.1 Eliminating line wraps in preformatted text


20.9.1 Eliminating line wraps in preformatted text

For preformatted text in HTML and XML, by default Mif2Go retains line wraps within paragraphs exactly as they appear in your FrameMaker document, without inserting any <br> tags. This applies to both of the following:

FrameMaker line wraps

Shift+Enter forced returns

FrameMaker line wraps

To omit FrameMaker line wraps and show wrapped lines full length in HTML or XHTML <pre> elements and XML preformatted elements:

[HTMLOptions]

; UnwrapPRE = No (default) or Yes (ignore line wraps in PRE)

UnwrapPRE = Yes

When UnwrapPRE=Yes, Mif2Go ignores line breaks caused by FrameMaker line wraps, but retains line breaks caused by paragraph breaks and by FrameMaker Shift+Enter forced returns. UnwrapPRE is effective only within <pre> elements in HTML and XHTML, and within preformatted elements in XML.

Shift+Enter forced returns

Forced returns are always retained as line breaks in preformatted text. See §20.3.9 Deciding how to treat forced returns and §13.4.5 Configuring forced returns for XML.



20 Mapping text formats to HTML > 20.9 Configuring preformatted text for HTML/XML > 20.9.1 Eliminating line wraps in preformatted text