summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-08-01 19:10:14 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-08-01 19:10:14 -0400
commitfa5efea7f315d6eda05fa8215070979906cd1f02 (patch)
tree0ebaac27f8cf08cef565f93e65502761ea649c7a
parent688ee3e4cb531de37e776513847b0404b85134cf (diff)
downloadgitlab-ce-rs-fix-rouge-inline-theme.tar.gz
Fix the `inline_theme` option for the Rouge formatterrs-fix-rouge-inline-theme
-rw-r--r--lib/rouge/formatters/html_gitlab.rb2
1 files changed, 1 insertions, 1 deletions
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)