mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2025-01-13 06:38:08 -05:00
Fixes gist processing of 'cs' files
This commit is contained in:
parent
ef6d53cac3
commit
72accb4e5d
@ -35,6 +35,7 @@ module HighlightCode
|
|||||||
lang = 'perl' if lang == 'pl'
|
lang = 'perl' if lang == 'pl'
|
||||||
lang = 'yaml' if lang == 'yml'
|
lang = 'yaml' if lang == 'yml'
|
||||||
lang = 'coffeescript' if lang == 'coffee'
|
lang = 'coffeescript' if lang == 'coffee'
|
||||||
|
lang = 'csharp' if lang == 'cs'
|
||||||
lang = 'plain' if lang == '' or lang.nil? or !lang
|
lang = 'plain' if lang == '' or lang.nil? or !lang
|
||||||
|
|
||||||
caption = options[:caption] || nil
|
caption = options[:caption] || nil
|
||||||
|
Loading…
Reference in New Issue
Block a user