digitalmars.D.learn - DDOC line breaks
- Derek Parnell (13/13) Oct 02 2005 It appears that when DDOC sees $(BR) it outputs the macro expansion
-
Walter Bright
(4/8)
Oct 02 2005
It appears that when DDOC sees $(BR) it outputs the macro expansion followed by a new-line. Thus when I have the BR macro defined as BR = <br/> we get "<br/>\n" in the output file, which really messes up <pre>...</pre> blocks. A work around for this effect was to define a new macro to use in preformatted blocks; NL = so that $(NL) outputs just "\n". Not very consistent but it works. -- Derek (skype: derek.j.parnell) Melbourne, Australia 3/10/2005 10:42:25 AM
Oct 02 2005
"Derek Parnell" <derek psych.ward> wrote in message news:1vt0x6kl7zd7b.j00do5bcoq2b$.dlg 40tude.net...It appears that when DDOC sees $(BR) it outputs the macro expansion followed by a new-line. Thus when I have the BR macro defined as BR =<br/>we get "<br/>\n" in the output file, which really messes up <pre>...</pre> blocks.That bug is certainly a pain, and is fixed now.
Oct 02 2005