Skip to content

Commit

Permalink
Fix of Encoding incompatibility error in ruby1.9:
Browse files Browse the repository at this point in the history
RE is utf-8 and html is ANSI8bit
  • Loading branch information
cail authored and chowells79 committed Jul 20, 2010
1 parent 4ac2e11 commit fb8c6c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/openid/consumer/html_parse.rb
Expand Up @@ -18,7 +18,7 @@ module OpenID
[^>]*>.*?<\/script> [^>]*>.*?<\/script>
/mixu /mix


def OpenID.openid_unescape(s) def OpenID.openid_unescape(s)
s.gsub('&amp;','&').gsub('&lt;','<').gsub('&gt;','>').gsub('&quot;','"') s.gsub('&amp;','&').gsub('&lt;','<').gsub('&gt;','>').gsub('&quot;','"')
Expand Down

0 comments on commit fb8c6c3

Please sign in to comment.