Skip to content

Commit 038e853

Browse files
committed
Fix of Encoding incompatibility error in ruby1.9:
RE is utf-8 and html is ANSI8bit
1 parent c42dae1 commit 038e853

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/openid/consumer/html_parse.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module OpenID
1818
1919
[^>]*>.*?<\/script>
2020
21-
/mixu
21+
/mix
2222

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

0 commit comments

Comments
 (0)