Bug 22285 – markdown tables are not parsed correctly

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2021-09-07T15:28:16Z
Last change time
2021-09-09T14:09:19Z
Keywords
ddoc, pull
Assigned to
No Owner
Creator
Basile-z

Comments

Comment #0 by b2.temp — 2021-09-07T15:28:16Z
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> ---
Comment #1 by dlang-bot — 2021-09-07T23:28:55Z
@dgileadi created dlang/dmd pull request #13056 "Fix bug 22285" fixing this issue: - Fix #22285 https://github.com/dlang/dmd/pull/13056
Comment #2 by dlang-bot — 2021-09-08T00:43:41Z
dlang/dmd pull request #13056 "Fix bug 22285" was merged into master: - bb0b3da9e668e09f5cd4234cde84d865e8abbd0c by David Gileadi: Fix #22285 https://github.com/dlang/dmd/pull/13056
Comment #3 by b2.temp — 2021-09-09T14:08:04Z
thanks for the quick reaction @dgileadi, I hopped that adding you to the CC lead to that ;)
Comment #4 by gileadis — 2021-09-09T14:09:19Z
Yep, I was unaware of the bug until the CC.