diff options
| -rw-r--r-- | asciidoctor-epub3.gemspec | 2 | ||||
| -rw-r--r-- | spec/highlight_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/asciidoctor-epub3.gemspec b/asciidoctor-epub3.gemspec index 59a5e6a..5417cfc 100644 --- a/asciidoctor-epub3.gemspec +++ b/asciidoctor-epub3.gemspec @@ -33,7 +33,7 @@ An extension for Asciidoctor that converts AsciiDoc documents to EPUB3 and KF8/M s.add_development_dependency 'asciidoctor-diagram', '>= 1.5.0', '< 3.0.0' s.add_development_dependency 'asciimath', '~> 2.0' s.add_development_dependency 'coderay', '~> 1.1.0' - s.add_development_dependency 'pygments.rb', '~> 2.3.0' + s.add_development_dependency 'pygments.rb', '~> 2.4.0' s.add_development_dependency 'rake', '~> 13.0.0' s.add_development_dependency 'rouge', '~> 3.0' s.add_development_dependency 'rspec', '~> 3.12.0' diff --git a/spec/highlight_spec.rb b/spec/highlight_spec.rb index 89508c4..2282fde 100644 --- a/spec/highlight_spec.rb +++ b/spec/highlight_spec.rb @@ -21,7 +21,7 @@ describe 'Asciidoctor::Epub3::Converter - Highlight' do article = book.item_by_href 'source_highlight.xhtml' expect(article).not_to be_nil if Asciidoctor::Document.supports_syntax_highlighter? - expect(article.content).to include '<span class="tok-k">class</span> <span class="tok-nc">Foo</span>' + expect(article.content).to include '<span class="tok-nc">Foo</span>' expect(article.content).to include '<link rel="stylesheet" href="./pygments-bw.css"/>' expect(book.item_by_href('pygments-bw.css')).not_to be_nil else |
