diff --git a/lib/awesome_print/ext/action_view.rb b/lib/awesome_print/ext/action_view.rb index 72997cd..7ceaa9b 100644 --- a/lib/awesome_print/ext/action_view.rb +++ b/lib/awesome_print/ext/action_view.rb @@ -5,13 +5,17 @@ #------------------------------------------------------------------------------ module AwesomePrint module ActionView - # Use HTML colors and add default "debug_dump" class to the resulting HTML. def ap_debug(object, options = {}) - object.ai(options.merge(:html => true)).sub(/^
])/, '])/, + '