Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

Commit a647c12

Browse files
committed
Update to use 1.8 style hash
1 parent 0f46921 commit a647c12

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/openid/consumer/html_parse.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def OpenID.parse_link_attrs(html)
3737
begin
3838
stripped = html.gsub(REMOVED_RE,'')
3939
rescue ArgumentError
40-
stripped = html.encode('UTF-8', 'binary', invalid: :replace, undef: :replace, replace: '').gsub(REMOVED_RE,'')
40+
stripped = html.encode('UTF-8', 'binary', :invalid => :replace, :undef => :replace, :replace => '').gsub(REMOVED_RE,'')
4141
end
4242
parser = HTMLTokenizer.new(stripped)
4343

0 commit comments

Comments
 (0)