claudioc / jingo

Node.js based Wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Table rendering using HTLM tags

adun opened this issue · comments

commented

There is an issue rendering tables in the wiki using HTML tags instead of MD syntax.
The table will be aligned in the bottom of the page.

Steps to reproduce:
Create a new page and paste the following code:

## TITLE

<table>
  <tr>
    <th>header</th>
    <td>test</td>
  </tr>
</table>

### SUBTITLE

screen shot 2014-09-22 at 1 45 15 pm

There is an unexpected gap between the TITLE and the Table.

Fixed in 1.1.0

This is a problem inside the Marked module, which behaves strangely when using a particular option (pedantic set to false).

Now I set this pedantic thing to true by default, and this specific problem is gone.

However, this is a "breaking change" (because it changes a default behaviour), so I had to bump the version to 1.1.0

Thanks for reporting!