|
|
|
@ -79,7 +79,7 @@ module Jekyll
|
|
|
|
|
source = "<figure class='code'>"
|
|
|
|
|
source += @caption if @caption
|
|
|
|
|
if @filetype
|
|
|
|
|
source += " #{highlight(code, @filetype)}</figure>"
|
|
|
|
|
source += "#{highlight(code, @filetype)}</figure>"
|
|
|
|
|
else
|
|
|
|
|
source += "#{tableize_code(code.lstrip.rstrip.gsub(/</,'<'))}</figure>"
|
|
|
|
|
end
|
|
|
|
|