diff --git a/README.md b/README.md index 9f933f7..94c6da6 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ The middleware uses a little more aggressive options by default: :remove_form_attributes => false, :remove_input_attributes => true, :remove_javascript_protocol => true, - :remove_http_protocol => true, + :remove_http_protocol => false, :remove_https_protocol => false, :preserve_line_breaks => false, :simple_boolean_attributes => true diff --git a/lib/htmlcompressor/rack.rb b/lib/htmlcompressor/rack.rb index f72474b..706ae84 100644 --- a/lib/htmlcompressor/rack.rb +++ b/lib/htmlcompressor/rack.rb @@ -17,7 +17,7 @@ class Rack :remove_form_attributes => false, :remove_input_attributes => true, :remove_javascript_protocol => true, - :remove_http_protocol => true, + :remove_http_protocol => false, :remove_https_protocol => false, :preserve_line_breaks => false, :simple_boolean_attributes => true