Omni Systems, Inc.

  

Mif2Go User's Guide, Version 33u53

  

Valid HTML 4.01!

 

Made with Mif2Go

12 Converting to HTML > 12.5 Specifying document-wide properties for HTML > 12.5.4 Suppressing line breaks in HTML and XML output


12.5.4 Suppressing line breaks in HTML and XML output

By default, Mif2Go inserts \n line breaks in HTML and XML output in several places, including (but not limited to) the following:

after each <a name= so the tag name always appears as the first item on the next line, to make the names easier to find when you inspect Mif2Go output

at the first space that occurs in a paragraph at or after 70 characters (not counting character tags), to make long paragraphs easier to inspect or edit.

These line breaks do not affect HTML display. However, if you are generating XML to be imported into a system that treats \n line breaks as though they were hard returns (paragraph breaks), you might want to get rid of all unintended line breaks in text. See §13.3.4 Preventing arbitrary line breaks in XML text elements.

To suppress \n line breaks after <a name=:

[HTMLOptions]

; ATagLineBreak = Yes (default, \n before first attr) or No

ATagLineBreak=No

To suppress \n line breaks in all paragraphs:

[HTMLOptions]

; NoWrap = No (default, \n where space occurs) or Yes

NoWrap=Yes

When NoWrap=Yes, each paragraph comes out in a single line, without any line wrap.



12 Converting to HTML > 12.5 Specifying document-wide properties for HTML > 12.5.4 Suppressing line breaks in HTML and XML output