October 03, 2005 DDOC line breaks | ||||
---|---|---|---|---|
| ||||
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
|
October 03, 2005 Re: DDOC line breaks | ||||
---|---|---|---|---|
| ||||
Posted in reply to Derek Parnell | "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. |
Copyright © 1999-2021 by the D Language Foundation