lib/rack/htmltidy.rb in wbzyl-rack-htmltidy-0.0.6 vs lib/rack/htmltidy.rb in wbzyl-rack-htmltidy-0.0.8
- old
+ new
@@ -1,15 +1,12 @@
-gem 'rack'
require 'rack/utils'
-
-gem 'tidy'
require 'tidy'
module Rack
class HTMLTidy
include Rack::Utils
- FORMAT = %{|| Tidy: %s - [%s] "%s %s%s %s"\n%s}
+ FORMAT = %{\n|| Tidy: %s - [%s] "%s %s%s %s"\n%s}
def initialize(app, opts={})
@app = app
@errors = opts[:errors] || false
@diagnostics = opts[:diagnostics] || false