Skip to content

Commit

Permalink
Support commonmarker >= 1
Browse files Browse the repository at this point in the history
  • Loading branch information
coord-e committed Feb 8, 2024
1 parent 44025ab commit fea5588
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion kuroko2.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Gem::Specification.new do |s|
s.add_dependency 'omniauth-rails_csrf_protection'

s.add_dependency 'html-pipeline', '>= 3'
s.add_dependency 'commonmarker', '>= 0.17.8'
s.add_dependency 'commonmarker', '>= 1'
s.add_dependency 'font-awesome-rails'
s.add_dependency 'rinku'
s.add_dependency 'visjs-rails'
Expand Down
2 changes: 1 addition & 1 deletion spec/helpers/job_definition_helper_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
EOF
end

it { is_expected.to match %r(<h1>Title</h1>) }
it { is_expected.to match %r(<h1><a href="#title" aria-hidden="true" id="title"></a>Title</h1>) }
it { is_expected.to match %r(LGTM) }
end

Expand Down

0 comments on commit fea5588

Please sign in to comment.