Skip to content

Commit

Permalink
disable remove_http_protocol by default
Browse files Browse the repository at this point in the history
  • Loading branch information
rmoriz committed Mar 13, 2015
1 parent 4d793ad commit 7436fd2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/htmlcompressor/rack.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7436fd2

Please sign in to comment.