Commit 88a3cfe1 authored by Stan Hu's avatar Stan Hu

Merge branch 'rs-fix-rouge-inline-theme' into 'master'

Fix the `inline_theme` option for the Rouge formatter



See merge request !1083
parents 326b827c fa5efea7
...@@ -47,7 +47,7 @@ module Rouge ...@@ -47,7 +47,7 @@ module Rouge
@lineanchors = lineanchors @lineanchors = lineanchors
@lineanchorsid = lineanchorsid @lineanchorsid = lineanchorsid
@anchorlinenos = anchorlinenos @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 end
def render(tokens) def render(tokens)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment