www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - & in code samples in documentation (caused by DDoc)

When DDoc is used to generate documentation, the code
sections where & was used, need to be replaced with &.

Example:
expression.html
section "Function Literals".

The generated code is &foo instead of &foo.
(Two instances).

Also in arrays.html
the word count example, we're getting &amp;lt;= instead of <=.
(many instances)

Also occurs in ctod.html, wc.html (&amp;gt;)

These are the only examples I could find with a quick grep.
A search and replace for &amp;amp; with &amp; should fix them,
ditto for &amp;lt; and &amp;gt;
Oct 21 2005