tanoku/sundown — Issue #95: Anchor tag prevents a table from rendering
Author: sgilda
Created: 2012-03-07 20:24:38+00:00
State: open

I ran into a problem where an anchor tag seems to impact and prevent a table from rendering.

You can view the issue here: https://gist.github.com/1995690

You'll see that the table in "Section 1" does NOT render, but the table in "Section 2" renders fine. The only difference is a blank line was added between the anchor and the next line in Section 2.

The following is the text from the file:

Table Rendering Bug
====================

Introduction
---------

This document contains 2 sections.

* [Section 1](#section1): The table in section 1 does NOT render properly
* [Section 2](#section2): The table in section 2 renders as expected.

The only difference in section 2 is the blank line between the "section2step1" anchor and the first list item.

Section 1
---------

This is section 1. Follow these instructions:

1. Step 1 instructions

a. Do this

b. Do that. Note the table below does NOT render.

| **Column 1** | **Column 2** |
|:-----------|:-----------|
| Row 1 Column1 | Row 1 Column2 |
| Row 2 Column1 | Row 2 Column2 |

2. Step 2 instructions

Section 2
---------

1. Step 1 instructions

a. Do this.

b. Do that. This table renders after a put a blank line between the "section2step1" anchor and the the

| **Column 1** | **Column 2** |
|:-----------|:-----------|
| Row 1 Column1 | Row 1 Column2 |
| Row 2 Column1 | Row 2 Column2 |

2. Step 2 instructions