From fa5efea7f315d6eda05fa8215070979906cd1f02 Mon Sep 17 00:00:00 2001 From: Robert Speicher Date: Sat, 1 Aug 2015 19:10:14 -0400 Subject: Fix the `inline_theme` option for the Rouge formatter --- lib/rouge/formatters/html_gitlab.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/rouge/formatters/html_gitlab.rb b/lib/rouge/formatters/html_gitlab.rb index 092a920a0c4..3f92212243d 100644 --- a/lib/rouge/formatters/html_gitlab.rb +++ b/lib/rouge/formatters/html_gitlab.rb @@ -47,7 +47,7 @@ module Rouge @lineanchors = lineanchors @lineanchorsid = lineanchorsid @anchorlinenos = anchorlinenos - @inline_theme = Theme.find(@inline_theme).new if @inline_theme.is_a?(String) + @inline_theme = Theme.find(inline_theme).new if inline_theme.is_a?(String) end def render(tokens) -- cgit v1.2.3