Markdown footnotes don't render when inside a table...

Footnotes embedded inside a Markdown table do not get rendered with CommonMark. It works with RedCarpet.

For example1:

A footnote in a paragraph[^1]

| Column1   | Column2 |
| --------- | ------- |
| foot [^1] | note    |

[^1]: a footnote

A footnote in a paragraph1

Column1 Column2
foot 1 note

Note that the footnote superscript is not shown in the table.

This has a direct effect on three of our documentation files:

You can see https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/21385 for additional context.

  1. a footnote 2 3