BigW Consortium Gitlab

Commit fa5efea7 by Robert Speicher

Fix the `inline_theme` option for the Rouge formatter

parent 688ee3e4
...@@ -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