Bug 3957 – [DDOC] Wrong html with [0, 10) in the comment

Status
RESOLVED
Resolution
DUPLICATE
Severity
minor
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2010-03-13T14:44:00Z
Last change time
2014-02-15T02:42:42Z
Assigned to
nobody
Creator
bearophile_hugs

Comments

Comment #0 by bearophile_hugs — 2010-03-13T14:44:58Z
This D2 program: /// Return a random number in [0, 10) void foo() {} void main() {} When dmd is asked to generate the html of documentation it generates: <html><head> <META http-equiv="content-type" content="text/html; charset=utf-8"> <title>bug1</title> </head><body> <h1>bug1</h1> <!-- Generated by Ddoc from bug1.d --> <br><br> <dl><dt><big>void <u>foo</u>(); </big></dt> <dd>Return a random number in [0, 10<br><br> </dd> </dl> ) <hr><small>Page generated by <a href="http://www.digitalmars.com/d/2.0/ddoc.html">Ddoc</a>. </small> </body></html> You can see the closed ) is wrong, too much below. Note: [0, 10) in Europe means an interval open on the right.
Comment #1 by johannespfau — 2010-09-17T07:11:40Z
*** This issue has been marked as a duplicate of issue 3554 ***