update to albino v1.3.0

This commit is contained in:
rick
2011-03-03 15:22:46 -08:00
parent f8b25f44f7
commit 83c0dbaaf2
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -391,8 +391,8 @@ module Gollum
formatted = begin
lang && Gollum::Albino.colorize(code, lang)
rescue ::Albino::ShellArgumentError, ::Albino::Process::TimeoutExceeded,
::Albino::Process::MaximumOutputExceeded
rescue ::Albino::ShellArgumentError, ::POSIX::Spawn::TimeoutExceeded,
::POSIX::Spawn::MaximumOutputExceeded
end
formatted ||= "<pre><code>#{CGI.escapeHTML(code)}</code></pre>"
update_cache(:code, id, formatted)