www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 393] New: wordcount example does not use <code>

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

           Summary: wordcount example does not use <code>
           Product: D
           Version: 0.167
          Platform: PC
               URL: http://www.digitalmars.com/d/wc.html
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: www.digitalmars.com
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: lio lunesu.com


DMD.167 cannot compile wc.html because the code is not inside a <code>-block.

Fix: add <code> after <pre ...> and add </code> before </pre> (as per
http://www.digitalmars.com/d/html.html)


-- 
Oct 02 2006
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=393


bugzilla digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX




------- Comment #1 from bugzilla digitalmars.com  2008-06-25 04:25 -------
The page is generated by Ddoc, which doesn't support <code> tags for code
examples. The D feature of being able to compile source files embedded in html
pages has not caught anyone's interest, and is dropped in D 2.0, so it isn't
worth fixing Ddoc.


-- 
Jun 25 2008