Permalink
Browse files

Fix of Encoding incompatibility error in ruby1.9:

RE is utf-8 and html is ANSI8bit
  • Loading branch information...
1 parent 4ac2e11 commit fb8c6c39374fc7f1f4e6a969b0b47e6186d9aafb @cail cail committed with chowells79 May 17, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/openid/consumer/html_parse.rb
@@ -18,7 +18,7 @@ module OpenID
[^>]*>.*?<\/script>
- /mixu
+ /mix
def OpenID.openid_unescape(s)
s.gsub('&amp;','&').gsub('&lt;','<').gsub('&gt;','>').gsub('&quot;','"')

0 comments on commit fb8c6c3

Please sign in to comment.