kzykhys / Ciconia

A New Markdown parser for PHP5.4
http://ciconia.kzykhys.com/
MIT License
355 stars 31 forks source link

In GFM, a cell with 0 results in an empty cell #24

Closed joelcuevas closed 10 years ago

joelcuevas commented 10 years ago

For this:

H1  | H2
--  | --
0   | Empty cell!

Is expected this?:

<table>
  <thead>
    <tr>
      <th>H1</th>
      <th>H2</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td></td>
      <td>Empty cell!</td>
    </tr>
  </tbody>
</table>

The zero from the cell in the body is removed resulting in an empty cell.

kzykhys commented 10 years ago

Thanks!