[Issue 22285] New: markdown tables are not parsed correctly

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Sep 7 15:28:16 UTC 2021


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

          Issue ID: 22285
           Summary: markdown tables are not parsed correctly
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: b2.temp at gmx.com

the following ddoc is not rendered correctly:

---
/**
| A | B | C |
|---|---|---|
| a | 0 |   |
| b | 1 1 1   |              |
| c | 2 |   |
*/
enum _ = 0; 
---

The last column is not included in the table:

---
</div>
<div class="ddoc_decl">
  <section class="section ddoc_sections">
  <div class="ddoc_summary">
  <p class="para">
   
<table><thead><tr><th>A</th><th>B</th><th>C</th></tr></thead><tbody><tr><td>a</td><td>0</td><td></td></tr>
<tr><td>b</td><td>1 1 1</td><td></td></tr></tbody></table>
| c | 2 |   |
  </p>
</div>
---

--


More information about the Digitalmars-d-bugs mailing list