www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22285] New: markdown tables are not parsed correctly

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 puremagic.com
          Reporter: b2.temp 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>
---

--
Sep 07