diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-08-01 19:10:14 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-08-01 19:10:14 -0400 |
commit | fa5efea7f315d6eda05fa8215070979906cd1f02 (patch) | |
tree | 0ebaac27f8cf08cef565f93e65502761ea649c7a /lib/rouge | |
parent | 688ee3e4cb531de37e776513847b0404b85134cf (diff) | |
download | gitlab-ce-fa5efea7f315d6eda05fa8215070979906cd1f02.tar.gz |
Fix the `inline_theme` option for the Rouge formatterrs-fix-rouge-inline-theme
Diffstat (limited to 'lib/rouge')
-rw-r--r-- | lib/rouge/formatters/html_gitlab.rb | 2 |
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) |