Commit 0b9365b6 authored by Brett Walker's avatar Brett Walker

Updated commonmarker gem to 0.17.13

parent 1254f226
...@@ -125,7 +125,7 @@ GEM ...@@ -125,7 +125,7 @@ GEM
coderay (1.1.2) coderay (1.1.2)
coercible (1.0.0) coercible (1.0.0)
descendants_tracker (~> 0.0.1) descendants_tracker (~> 0.0.1)
commonmarker (0.17.8) commonmarker (0.17.13)
ruby-enum (~> 0.5) ruby-enum (~> 0.5)
concord (0.1.5) concord (0.1.5)
adamantium (~> 0.2.0) adamantium (~> 0.2.0)
......
...@@ -60,4 +60,21 @@ describe Banzai::Filter::MarkdownFilter do ...@@ -60,4 +60,21 @@ describe Banzai::Filter::MarkdownFilter do
end end
end end
end end
describe 'footnotes in tables' do
it 'processes footnotes in table cells' do
text = <<-MD.strip_heredoc
| Column1 |
| --------- |
| foot [^1] |
[^1]: a footnote
MD
result = filter(text)
expect(result).to include('<td>foot <sup')
expect(result).to include('<section class="footnotes">')
end
end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment