www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 3957] New: [DDOC] Wrong html with [0, 10) in the comment

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3957

           Summary: [DDOC] Wrong html with [0, 10) in the comment
           Product: D
           Version: 2.041
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: minor
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: bearophile_hugs eml.cc



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.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 13 2010
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3957


Johannes Pfau <johannespfau gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |johannespfau gmail.com
         Resolution|                            |DUPLICATE



PDT ---
*** This issue has been marked as a duplicate of issue 3554 ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 17 2010