Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/github-pages/dependencies.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Dependencies

# Misc
"liquid" => "4.0.0",
"rouge" => "1.11.1",
"rouge" => "2.2.1",
"github-pages-health-check" => "1.3.5",

# Plugins
Expand Down
3 changes: 2 additions & 1 deletion spec/github-pages/integration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ def env
context "rouge" do
it "syntax highlights" do
expected = '<div class="language-ruby highlighter-rouge">'.dup
expected << '<pre class="highlight"><code><span class="nb">'
expected << '<div class="highlight"><pre class="highlight">'
expected << '<code><span class="nb">'
expected << 'puts</span> <span class="s2">"hello world"'
expect(contents).to match(expected)
end
Expand Down