Skip to content

Commit

Permalink
Ruby 1.9 adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuki Izumi committed Mar 8, 2017
1 parent 0c2da97 commit e494209
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ gem "creole", "~>0.3.6"
gem "wikicloth", "=0.8.1", :platforms => :ruby
gem "asciidoctor", "= 1.5.2"
gem "rake"
gem "rinku", '~> 1'
2 changes: 1 addition & 1 deletion lib/github/markup/markdown.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module Markup
class Markdown < Implementation
MARKDOWN_GEMS = {
"commonmarker" => proc { |content|
CommonMarker.render_html(content, :default, %i[tagfilter autolink table strikethrough])
CommonMarker.render_html(content, :default, [:tagfilter, :autolink, :table, :strikethrough])
},
"github/markdown" => proc { |content|
GitHub::Markdown.render(content)
Expand Down

0 comments on commit e494209

Please sign in to comment.