lib/onebox/engine/github_blob_onebox.rb in onebox-1.5.14 vs lib/onebox/engine/github_blob_onebox.rb in onebox-1.5.16
- old
+ new
@@ -197,10 +197,10 @@
link: link,
# IMPORTANT NOTE: All of the other class variables are populated
# as *side effects* of the `raw` method! They must all appear
# AFTER the call to `raw`! Don't get bitten by this like I did!
content: raw,
- lang: @lang,
+ lang: "lang-#{@lang}",
lines: @selected_lines_array ,
has_lines: !@selected_lines_array.nil?,
selected_one_liner: @selected_one_liner,
cr_results:@cr_results,
truncated: @truncated}