kzykhys / Ciconia

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

Consecutive tables - only first table is parsed #57

Open zdenekdrahos opened 9 years ago

zdenekdrahos commented 9 years ago

Two consecutive tables

| head | head |
|-------|-------|
| body | body |

| head | head |
|-------|-------|
| body | body |

are converted to

<table>
<thead>
<tr>
<th>head</th>
<th>head</th>
</tr>
</thead>
<tbody>
<tr>
<td>body</td>
<td>body</td>
</tr>
</tbody>
</table>

<p>| head | head |<br>
|-------|-------|<br>
| body | body |</p>