Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-08-02 02:10:14 +0300
committerRobert Speicher <rspeicher@gmail.com>2015-08-02 02:10:14 +0300
commitfa5efea7f315d6eda05fa8215070979906cd1f02 (patch)
tree0ebaac27f8cf08cef565f93e65502761ea649c7a /lib
parent688ee3e4cb531de37e776513847b0404b85134cf (diff)
Fix the `inline_theme` option for the Rouge formatter
Diffstat (limited to 'lib')
-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)