Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
0b9365b6
Commit
0b9365b6
authored
6 years ago
by
Brett Walker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated commonmarker gem to 0.17.13
parent
1254f226
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
1 deletion
+18
-1
Gemfile.lock
Gemfile.lock
+1
-1
spec/lib/banzai/filter/markdown_filter_spec.rb
spec/lib/banzai/filter/markdown_filter_spec.rb
+17
-0
No files found.
Gemfile.lock
View file @
0b9365b6
...
...
@@ -125,7 +125,7 @@ GEM
coderay (1.1.2)
coercible (1.0.0)
descendants_tracker (~> 0.0.1)
commonmarker (0.17.
8
)
commonmarker (0.17.
13
)
ruby-enum (~> 0.5)
concord (0.1.5)
adamantium (~> 0.2.0)
...
...
This diff is collapsed.
Click to expand it.
spec/lib/banzai/filter/markdown_filter_spec.rb
View file @
0b9365b6
...
...
@@ -60,4 +60,21 @@ describe Banzai::Filter::MarkdownFilter do
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
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment