[Issue 17169] New: New default ddoc theme merges all paragraphs except the first

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Feb 9 16:43:23 PST 2017


https://issues.dlang.org/show_bug.cgi?id=17169

          Issue ID: 17169
           Summary: New default ddoc theme merges all paragraphs except
                    the first
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: cbkbbejeap at mailinator.com

doccomment.d:
-----------------
/++
P1

P2

P3
+/
void foo(){}
-----------------

Compile:
$ dmd -Xf=doccomment.json -Dfdoccomment.html -c doccomment.d

The resulting JSON is ok, same as it's always been, but with the new default
theme, the HTML fails to make P2 and P3 into separate paragraphs:

-----------------
<div class="ddoc_description">
  <h4>Discussion</h4>
  <p class="para">
    P2


P3
  </p>
</div>
-----------------

--


More information about the Digitalmars-d-bugs mailing list