[Issue 22230] New: Markdown trailing list breaks unittest example

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Aug 21 10:15:04 UTC 2021


          Issue ID: 22230
           Summary: Markdown trailing list breaks unittest example
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: zan77137 at nifty.com

When the following code is used for document generation, the generated HTML
layout will be broken:
- test
    // test

$ dmd -D -c -o- .\source\unittests_example.d

The following is a well-formed version of the relevant section:
<div class="ddoc_examples">
  <p class="para">
      <section class="code_listing">
        <div class="code_sample">
          <div class="dlang">
            <ol class="code_lines">
              <li><code class="code"><span class="comment">//
The `<section class="code_listing">...</section>` above must come after the


More information about the Digitalmars-d-bugs mailing list