lib/review/htmlutils.rb in review-2.0.0 vs lib/review/htmlutils.rb in review-2.1.0
- old
+ new
@@ -67,14 +67,13 @@
return body if !highlight?
begin
require 'pygments'
begin
- Pygments.highlight(
- unescape_html(body),
- :options => options,
- :formatter => format,
- :lexer => lexer)
+ Pygments.highlight(unescape_html(body),
+ :options => options,
+ :formatter => format,
+ :lexer => lexer)
rescue MentosError
body
end
rescue LoadError
body