http://d.puremagic.com/issues/show_bug.cgi?id=7715

           Summary: DDoc eats $1, $2, $3 etc. inside d_code section
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: dmitry.o...@gmail.com


--- Comment #0 from Dmitry Olshansky <dmitry.o...@gmail.com> 2012-03-15 
08:57:06 PDT ---
Example:

/**

&#36;1 &#36;2
---
string s = "$1$2 $ &#36;4";
---

*/
void foo(){}


Produces this (note that a lone $ was keept intact and &#36; doesn't work
inside pre block):

<html><head>
        <META http-equiv="content-type" content="text/html; charset=utf-8">
        <title>test</title>
        </head><body>
        <h1>test</h1>
        <!-- Generated by Ddoc from test.d -->
<br><br>
<dl><dt><big>void <u>foo</u>();
</big></dt>
<dd>&#36;1 &#36;2
<pre class="d_code">string s = <font color=red>" $ &amp;#36;4"</font>;
</pre>
<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>


Marking as critical because it destroys the replace format string in regex
article. But maybe, just maybe, I'm missing something.

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

Reply via email to